Results for “Std.Time.format”
24 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Time.format
&Std.Time.Instant -> Str -> Result[Str, Str]An instant rendered in UTC with a pattern.
- Std.Time.Format.Civil.civilFromDays
Int -> (Int, Int, Int)The civil date represented by a Unix-epoch day number.
- Std.Time.Format.Civil.daysFromCivil
Int -> Int -> Int -> IntA civil date as a day number counted from the start of 1970.
- Std.Time.Format.Civil.daysInMonth
Int -> Int -> IntHow many days a month holds, or zero for a month outside 1 through 12.
- Std.Time.Format.Civil.floorDiv
Int -> Int -> IntDivision rounded toward negative infinity.
- Std.Time.Format.Civil.floorMod
Int -> Int -> IntThe non-negative remainder paired with floor division for a positive divisor.
- Std.Time.Format.Civil.isLeapYear
Int -> BoolWhether a proleptic Gregorian year carries an extra day.
- Std.Time.Format.FormatError
Why text does not name a time.
- Std.Time.Format.Parts
A moment taken apart into the fields a person writes.
- Std.Time.Format.civilFromDays
Int -> (Int, Int, Int)The civil date a day number stands on.
- Std.Time.Format.dayOfYear
Int -> IntWhich day of its year a moment falls on, counting the first as one.
- Std.Time.Format.daysFromCivil
Int -> Int -> Int -> IntThe day number a civil date stands on, counting from the start of 1970.
- Std.Time.Format.daysInMonth
Int -> Int -> IntHow many days a month holds in a given year.
- Std.Time.Format.fromHttpDate
Str -> Result[Int, Std.Time.Format.FormatError]The moment a message header names.
- Std.Time.Format.fromRfc3339
Str -> Result[Int, Std.Time.Format.FormatError]The moment interchange text names.
- Std.Time.Format.isLeapYear
Int -> BoolWhether a year carries an extra day.
- Std.Time.Format.millisOf
&Std.Time.Format.Parts -> IntThe moment fields name, as the time at zero offset.
- Std.Time.Format.parse
Str -> Str -> Result[Int, Std.Time.Format.FormatError]The moment a pattern reads out of text.
- Std.Time.Format.partsOf
Int -> Std.Time.Format.PartsA moment taken apart, as the time at zero offset.
- Std.Time.Format.render
Int -> Str -> StrA moment written by a pattern.
- Std.Time.Format.renderDuration
Int -> StrA length of time written the way the interchange format writes one.
- Std.Time.Format.toHttpDate
Int -> StrA moment written the way a message header carries one.
- Std.Time.Format.toRfc3339
Int -> StrA moment written in the interchange form, at zero offset.
- Std.Time.Format.weekdayOf
Int -> IntWhich day of the week a moment falls on, counting Sunday as zero.
