package
1.20.4
Repository: https://github.com/aws/smithy-go.git
Documentation: pkg.go.dev

# Functions

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.