Required type for comparing and validating date inputs.
UI.Internal.DateInput.DateInput
DateInput.DateInput
is used for describing dates in the UI.
UI.Internal.DateInput.PeriodComparison
DateInput.PeriodComparison
is used to compare date and time ranges.
{ date : DateInput
, comparison : PeriodComparison
}
DateInput.PeriodDate
is used to contain both date and comparison information.
{ from : DateInput
, to : DateInput
}
DateInput.RangeDate
is used to describe a range of dates.
toDD_MM_YYYY : String -> DateInput -> String
Transforms a string into a DateInput.DateInput
fromPosix : Time.Zone -> Time.Posix -> DateInput
Transform a time with time zone into a DateInput