Std.Time.Format
17 public declarations
- civilFromDays
Int -> (Int, Int, Int)The civil date a day number stands on.
- dayOfYear
Int -> IntWhich day of its year a moment falls on, counting the first as one.
- daysFromCivil
Int -> Int -> Int -> IntThe day number a civil date stands on, counting from the start of 1970.
- daysInMonth
Int -> Int -> IntHow many days a month holds in a given year.
- FormatError
Why text does not name a time.
- fromHttpDate
Str -> Result[Int, Std.Time.Format.FormatError]The moment a message header names.
- fromRfc3339
Str -> Result[Int, Std.Time.Format.FormatError]The moment interchange text names.
- isLeapYear
Int -> BoolWhether a year carries an extra day.
- millisOf
&Std.Time.Format.Parts -> IntThe moment fields name, as the time at zero offset.
- parse
Str -> Str -> Result[Int, Std.Time.Format.FormatError]The moment a pattern reads out of text.
- Parts
A moment taken apart into the fields a person writes.
- partsOf
Int -> Std.Time.Format.PartsA moment taken apart, as the time at zero offset.
- render
Int -> Str -> StrA moment written by a pattern.
- renderDuration
Int -> StrA length of time written the way the interchange format writes one.
- toHttpDate
Int -> StrA moment written the way a message header carries one.
- toRfc3339
Int -> StrA moment written in the interchange form, at zero offset.
- weekdayOf
Int -> IntWhich day of the week a moment falls on, counting Sunday as zero.
