package time
Import Path
github.com/aws/smithy-go/time (on go.dev)
Dependency Relation
imports 5 packages, and imported by 2 packages
Involved Source Files
time.go
Package-Level Type Names (total 2, neither is exported)
Package-Level Functions (total 8, in which 7 are exported)
FormatDateTime formats value as a date-time, (RFC3339 section 5.6)
Example: 1985-04-12T23:20:50.52Z
FormatEpochSeconds returns value as a Unix time in seconds with with decimal precision
Example: 1515531081.123
FormatHTTPDate formats value as a http-date, (RFC 7231#section-7.1.1.1 IMF-fixdate)
Example: Tue, 29 Apr 2014 18:30:38 GMT
ParseDateTime parses a string as a date-time, (RFC3339 section 5.6)
Example: 1985-04-12T23:20:50.52Z
ParseEpochSeconds returns value as a Unix time in seconds with with decimal precision
Example: 1515531081.123
ParseHTTPDate parses a string as a http-date, (RFC 7231#section-7.1.1.1 IMF-fixdate)
Example: Tue, 29 Apr 2014 18:30:38 GMT
SleepWithContext will wait for the timer duration to expire, or until the context
is canceled. Whichever happens first. If the context is canceled the
Context's error will be returned.
Package-Level Variables (only one, which is unexported)
Package-Level Constants (total 6, none are exported)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)