Home | History | Annotate | Download | only in time

Lines Matching refs:seconds

8 // no leap seconds.
117 // wall and ext encode the wall time seconds, wall time nanoseconds,
121 // a 33-bit seconds field, and a 30-bit wall time nanoseconds field.
124 // and the full signed 64-bit wall seconds since Jan 1 year 1 is stored in ext.
126 // unsigned wall seconds since Jan 1 year 1885, and ext holds a
156 // sec returns the time's seconds since Jan 1 year 1.
164 // unixSec returns the time's seconds since Jan 1 1970 (Unix time).
167 // addSec adds d seconds to the time.
386 // uses a year equal to 1 mod 400, and that is no more than 2?³ seconds
389 // seconds since this year as absolute times.
391 // Times measured as an int64 seconds since the year 1?the representation
394 // Times measured as an int64 seconds since the year 1970 are called Unix
635 // seconds := 10
636 // fmt.Print(time.Duration(seconds)*time.Second) // prints 10s
695 // u is now integer seconds
777 // Seconds returns the duration as a floating point number of seconds.
778 func (d Duration) Seconds() float64 {
1089 // name of the zone (such as "CET") and its offset in seconds east of UTC.
1095 // Unix returns t as a Unix time, the number of seconds elapsed
1134 byte(sec >> 56), // bytes 1-8: seconds
1230 // Fractional seconds are handled implicitly by Parse.
1250 // Fractional seconds are handled implicitly by Parse.
1257 // sec seconds and nsec nanoseconds since January 1, 1970 UTC.