import "github.com/katzenpost/core/epochtime"
Package epochtime implements Katzenpost epoch related timekeeping functions.
Epoch is the Katzenpost epoch expressed in UTC.
Period is the duration of a Katzenpost epoch.
WarpedEpoch is a flag that can be passed at build time to set the epoch Period
FromUnix returns the Katzenpost epoch, time since the start of the current epoch, and time till the next epoch relative to a Unix time in seconds.
IsInEpoch returns true iff the epoch e contains the time t, measured in the number of seconds since the UNIX epoch.
Now returns the current Katzenpost epoch, time since the start of the current epoch, and time till the next epoch.
Package epochtime imports 1 packages (graph) and is imported by 15 packages. Updated 2019-11-07. Refresh now. Tools for package owners.