m3e/date
Types
Values
pub fn from_string(input: String) -> Result(Date, String)
from_string parses a string into a DateTime value.
pub fn new(
d: ymd.Ymd,
t: option.Option(time.Time),
tz: option.Option(timezone.TimeZone),
) -> Date
new creates a Date value from a Ymd, Time, and TimeZone.
pub fn to_string(d: Date) -> String
to_string converts a Date value to a string in the format yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss or yyyy-MM-ddTHH:mm:ssZ or yyyy-MM-ddTHH:mm:ss±HH:mm.