Lines Matching refs:day
106 // Windows specifies daylight savings information in "day in month" format:
109 // d.Day is week within the month (1 to 5, where 5 is last week of the month)
111 day := 1
112 t := Date(year, Month(d.Month), day, int(d.Hour), int(d.Minute), int(d.Second), 0, UTC)
117 day += i
118 if week := int(d.Day) - 1; week < 4 {
119 day += week * 7
121 // "Last" instance of the day.
122 day += 4 * 7
123 if day > daysIn(Month(d.Month), year) {
124 day -= 7
127 return t.sec + int64(day-1)*secondsPerDay + internalToUnix
200 StandardDate: syscall.Systemtime{Month: 11, Day: 1, Hour: 2},
204 DaylightDate: syscall.Systemtime{Month: 3, Day: 2, Hour: 2},
213 StandardDate: syscall.Systemtime{Month: 4, Day: 1, Hour: 3},
217 DaylightDate: syscall.Systemtime{Month: 10, Day: 1, Hour: 2},