- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ZoneBounds (0.32 sec)
-
src/time/time_test.go
if err != nil { t.Fatal(err) } // The ZoneBounds of a UTC location would just return two zero Time. for _, test := range utctests { sec := test.seconds golden := &test.golden tm := Unix(sec, 0).UTC() start, end := tm.ZoneBounds() if !(start.IsZero() && end.IsZero()) { t.Errorf("ZoneBounds of %+v expects two zero Time, got:\n start=%v\n end=%v", *golden, start, end) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
api/go1.19.txt
pkg sync/atomic, type Uint32 struct #50860 pkg sync/atomic, type Uint64 struct #50860 pkg sync/atomic, type Uintptr struct #50860 pkg time, method (Duration) Abs() Duration #51414 pkg time, method (Time) ZoneBounds() (Time, Time) #50062 pkg crypto/x509, func ParseCRL //deprecated #50674 pkg crypto/x509, func ParseDERCRL //deprecated #50674 pkg crypto/x509, method (*Certificate) CheckCRLSignature //deprecated #50674
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 17.9K bytes - Viewed (0) -
src/time/time.go
return } // ZoneBounds returns the bounds of the time zone in effect at time t. // The zone begins at start and the next zone begins at end. // If the zone begins at the beginning of time, start will be returned as a zero Time. // If the zone goes on forever, end will be returned as a zero Time. // The Location of the returned times will be the same as t. func (t Time) ZoneBounds() (start, end Time) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(Time).UnixNano", Method, 0}, {"(Time).Weekday", Method, 0}, {"(Time).Year", Method, 0}, {"(Time).YearDay", Method, 1}, {"(Time).Zone", Method, 0}, {"(Time).ZoneBounds", Method, 19}, {"(Weekday).String", Method, 0}, {"ANSIC", Const, 0}, {"After", Func, 0}, {"AfterFunc", Func, 0}, {"April", Const, 0}, {"August", Const, 0}, {"Date", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)