Lines Matching refs:UTC
23 // The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC.
29 // The methods Local, UTC, and In return a Time with a specific location.
37 // values, which can be achieved through use of the UTC or Local method.
41 // January 1, year 1 00:00:00 UTC.
53 // In that case it is interpreted to mean UTC.
69 // For example, 6:00 +0200 CEST and 4:00 UTC are Equal.
141 // January 1, year 1, 00:00:00.000000000 UTC
143 // (1-1-1 00:00:00 UTC), (2) is unlikely enough to arise in practice to
145 // non-negative year even in time zones west of UTC, unlike 1-1-0
146 // 00:00:00 UTC, which would be 12-31-(-1) 19:00:00 in New York.
152 // suggest a representation, namely using 1-1-1 00:00:00 UTC as the
210 // west of UTC, since it is year 0. It doesn't seem tenable to say that
240 // January 1, year 1, 00:00:00 UTC.
283 name = "UTC"
786 // UTC returns t with the location set to UTC.
787 func (t Time) UTC() Time {
788 t.loc = UTC
813 l = UTC
819 // name of the zone (such as "CET") and its offset in seconds east of UTC.
826 // since January 1, 1970 UTC.
832 // since January 1, 1970 UTC. The result is undefined if the Unix time
843 var offsetMin int16 // minutes east of UTC. -1 is UTC.
967 // sec seconds and nsec nanoseconds since January 1, 1970 UTC.
1075 // Look for zone offset for t, so we can adjust to UTC.
1076 // The lookup function expects UTC, so we pass t in the
1081 switch utc := unix - int64(offset); {
1082 case utc < start:
1084 case utc >= end: