Build options records using type-safe helper functions.
import Cldr.Format.Options exposing (..)
options : DateTimeOptions
options =
initDateTime
|> setYear Numeric
|> setMonthText Short
|> setDay Numeric
|> setHour Numeric
|> setMinute TwoDigit
|> setPeriod Short
|> toOptionsStart building a DateTimeOptions value
Start building a DateTime value
Set the era field.
Set the year field.
Set the month field to a NumberOption value.
Set the month field to a TextOption value.
Set the day field.
Set the weekday field.
Set the period field.
Set the hour field.
Set the minute field.
Set the second field.
Set the fractionalSecondDigits field.
Set the zone field.
Set the hour12 field.
Get the options that you have built.
An opaque type that uses the "phantom builder" pattern.