Documentation
¶
Overview ¶
Package datex is a wrapper around github.com/rickb777/date/v2 and github.com/rickb777/period so we don't depend on it directly.
Index ¶
Constants ¶
View Source
const MAX_SAFE_ITERATION_COUNT = 1_000_000
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ISOString ¶
func (*ISOString) ParsePtrOrNil ¶
ParsePtrOrNil parses the ISO8601 string representation of the period or if ISOString is nil, returns nil
type Period ¶
func FromDuration ¶
FromDuration creates an IMPRECISE Period from a time.Duration
func (*Period) ISOStringPtrOrNil ¶
ISOStringPtrOrNil() returns the ISO8601 string representation of the period or if Period is nil, returns nil
Click to show internal directories.
Click to hide internal directories.