Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for saturday (0.21 sec)

  1. src/time/time.go

    type Weekday int
    
    const (
    	Sunday Weekday = iota
    	Monday
    	Tuesday
    	Wednesday
    	Thursday
    	Friday
    	Saturday
    )
    
    // String returns the English name of the day ("Sunday", "Monday", ...).
    func (d Weekday) String() string {
    	if Sunday <= d && d <= Saturday {
    		return longDayNames[d]
    	}
    	buf := make([]byte, 20)
    	n := fmtInt(buf, uint64(d))
    	return "%!Weekday(" + string(buf[n:]) + ")"
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. src/time/format.go

    				}
    			}
    		}
    	}
    	return layout, 0, ""
    }
    
    var longDayNames = []string{
    	"Sunday",
    	"Monday",
    	"Tuesday",
    	"Wednesday",
    	"Thursday",
    	"Friday",
    	"Saturday",
    }
    
    var shortDayNames = []string{
    	"Sun",
    	"Mon",
    	"Tue",
    	"Wed",
    	"Thu",
    	"Fri",
    	"Sat",
    }
    
    var shortMonthNames = []string{
    	"Jan",
    	"Feb",
    	"Mar",
    	"Apr",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  3. src/time/time_test.go

    	{-1221681866, parsedTime{1931, April, 16, 3, 55, 34, 0, Thursday, 0, "UTC"}},
    	{-11644473600, parsedTime{1601, January, 1, 0, 0, 0, 0, Monday, 0, "UTC"}},
    	{599529660, parsedTime{1988, December, 31, 0, 1, 0, 0, Saturday, 0, "UTC"}},
    	{978220860, parsedTime{2000, December, 31, 0, 1, 0, 0, Sunday, 0, "UTC"}},
    }
    
    var nanoutctests = []TimeTest{
    	{0, parsedTime{1970, January, 1, 0, 0, 0, 1e8, Thursday, 0, "UTC"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top