Builder to create date-time formatters.

See java.time.format.DateTimeFormatterBuilder for full documentation

Hierarchy

  • DateTimeFormatterBuilder

Constructors

Methods

  • Appends an instant using ISO-8601 to the formatter, formatting fractional digits in groups of three.

    Parameters

    • Optional fractionalDigits: number

      Gives control over the number of fraction digits.

    Returns DateTimeFormatterBuilder

  • Causes the next added printer/parser to pad to a fixed width.

    Parameters

    • padWidth: number
    • Optional padChar: string

      If left out, width defaults to a space.

    Returns DateTimeFormatterBuilder

Generated using TypeDoc