TOML Date-Time #
Defines data types for representing a TOML date-time. TOML date-times are based on IETF RFC 3339 with some components optionally left out, creating four distinct variants.
- Offset Date-Time: A full RFC 3339 date-time.
- Local Date-Time: An RFC 3339 date-time without the time zone.
- Local Date: The date portion of an RFC 3339 date-time (year-month-day).
- Local Time: The time portion of an RFC 3339 date-time (without time zone).
Equations
- Lake.Toml.instInhabitedTime = { default := { hour := default, minute := default, second := default, fracExponent := default, fracMantissa := default } }
Equations
- Lake.Toml.Time.zero = { hour := 0, minute := 0, second := 0, fracExponent := 0, fracMantissa := 0 }
Instances For
Equations
- Lake.Toml.Time.instOfNat = { ofNat := Lake.Toml.Time.zero }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lake.Toml.Time.instToString = { toString := Lake.Toml.Time.toString }
A TOML date-time.
- offsetDateTime (date : Lake.Date) (time : Lake.Toml.Time) (offset? : Option (Bool × Lake.Toml.Time) := none) : Lake.Toml.DateTime
- localDateTime (date : Lake.Date) (time : Lake.Toml.Time) : Lake.Toml.DateTime
- localDate (date : Lake.Date) : Lake.Toml.DateTime
- localTime (time : Lake.Toml.Time) : Lake.Toml.DateTime
Instances For
Equations
- Lake.Toml.instInhabitedDateTime = { default := Lake.Toml.DateTime.offsetDateTime default default default }
Equations
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- (Lake.Toml.DateTime.offsetDateTime d t o?).toString = toString "" ++ toString d ++ toString "T" ++ toString t ++ toString "Z"
- (Lake.Toml.DateTime.localDateTime d t).toString = toString "" ++ toString d ++ toString "T" ++ toString t ++ toString ""
- (Lake.Toml.DateTime.localDate d).toString = d.toString
- (Lake.Toml.DateTime.localTime t).toString = t.toString
Instances For
Equations
- Lake.Toml.DateTime.instToString = { toString := Lake.Toml.DateTime.toString }