Lines Matching refs:seconds
42 ZoneOffset int // seconds east of UTC, e.g. -7*60*60 for -0700
47 seconds int64
98 sec := test.seconds
103 t.Errorf("SecondsToUTC(%d).Seconds() = %d", sec, newsec)
116 nsec := test.seconds*1e9 + int64(golden.Nanosecond)
132 sec := test.seconds
137 t.Errorf("SecondsToLocalTime(%d).Seconds() = %d", sec, newsec)
150 nsec := test.seconds*1e9 + int64(golden.Nanosecond)
154 t.Errorf("NanosecondsToLocalTime(%d).Seconds() = %d", nsec, newnsec)
198 // (seconds since zero), but we need it to compute the right
202 // 1970 - 2001 is -(31*365+8)*86400 = -978307200 seconds.
203 // 2001 - 1 is 2000*365.2425*86400 = 63113904000 seconds.
206 // abs returns the absolute time stored in t, as seconds and nanoseconds.
1019 if got := tt.d.Seconds(); got != tt.want {
1020 t.Errorf("d.Seconds() = %g; want: %g", got, tt.want)