A text format for a type
Modulererebase-1.21.2Haskell2010
Data.Time.Format.ISO8601
- 2 types
- 1 class
- 41 values
- Packagererebase-1.21.2
- Exports44
- LanguageHaskell2010
- LicenceMIT
- SourceFormat.hs
Read a value in the format
Show a value in the format, if representable
Methods
iso8601Format :: Format tThe most commonly used ISO 8601 format for this type.
Instances8ISO8601, …
ISO8601 CalendarDiffDaysDefined in time-1.12.2 · Data.Time.Format.ISO8601PyYmMdD(ISO 8601:2004(E) sec. 4.4.3.2)ISO8601 DayDefined in time-1.12.2 · Data.Time.Format.ISO8601yyyy-mm-dd(ISO 8601:2004(E) sec. 4.1.2.2 extended format)ISO8601 UTCTimeDefined in time-1.12.2 · Data.Time.Format.ISO8601yyyy-mm-ddThh:mm:ss[.sss]Z(ISO 8601:2004(E) sec. 4.3.2 extended format)ISO8601 CalendarDiffTimeDefined in time-1.12.2 · Data.Time.Format.ISO8601PyYmMdDThHmMs[.sss]S(ISO 8601:2004(E) sec. 4.4.3.2)ISO8601 LocalTimeDefined in time-1.12.2 · Data.Time.Format.ISO8601yyyy-mm-ddThh:mm:ss[.sss](ISO 8601:2004(E) sec. 4.3.2 extended format)ISO8601 TimeOfDayDefined in time-1.12.2 · Data.Time.Format.ISO8601hh:mm:ss[.sss](ISO 8601:2004(E) sec. 4.2.2.2, 4.2.2.4(a) extended format)ISO8601 TimeZoneDefined in time-1.12.2 · Data.Time.Format.ISO8601±hh:mm(ISO 8601:2004(E) sec. 4.2.5.1 extended format)ISO8601 ZonedTimeDefined in time-1.12.2 · Data.Time.Format.ISO8601yyyy-mm-ddThh:mm:ss[.sss]±hh:mm(ISO 8601:2004(E) sec. 4.3.2 extended format)
Parse the most commonly used ISO 8601 format.
Show in the most commonly used ISO 8601 format.
Parse a value in the format
Show a value in the format, or error if unrepresentable
ISO 8601:2004(E) sec. 4.4.3.3
ISO 8601:2004(E) sec. 4.4.3.3
ISO 8601:2004(E) sec. 4.1.2.2
ISO 8601:2004(E) sec. 4.1.2.3(c)
ISO 8601:2004(E) sec. 4.3.3
ISO 8601:2004(E) sec. 4.4.3.2
ISO 8601:2004(E) sec. 4.4.3.2
ISO 8601:2004(E) sec. 4.1.2.4(a)
ISO 8601:2004(E) sec. 4.1.2.4(d)
ISO 8601:2004(E) sec. 4.1.3.3
ISO 8601:2004(E) sec. 4.1.4.2
ISO 8601:2004(E) sec. 4.1.2.4(c)
ISO 8601:2004(E) sec. 4.1.2.4(b)
ISO 8601:2004(E) sec. 4.1.4.3
Read a value in either extended or basic format
ISO 8601:2004(E) sec. 4.2.2.3(b), 4.2.2.4(c)
ISO 8601:2004(E) sec. 4.2.2.3(a), 4.2.2.4(b)
ISO 8601:2004(E) sec. 4.4.4.1
Like makeTimeOfDayValid, but accepts 24 0 0 per ISO 8601:2004(E) sec. 4.2.3
ISO 8601:2004(E) sec. 4.3.2
ISO 8601:2004(E) sec. 4.1.3.2
Parse a value in either extended or basic format
ISO 8601:2004(E) sec. 4.5
ISO 8601:2004(E) sec. 4.3.3
ISO 8601:2004(E) sec. 4.2.5.2
ISO 8601:2004(E) sec. 4.2.2.2, 4.2.2.4(a)
ISO 8601:2004(E) sec. 4.2.5.1
ISO 8601:2004(E) sec. 4.3.2
ISO 8601:2004(E) sec. 4.1.4.2
ISO 8601:2004(E) sec. 4.2.2.5
ISO 8601:2004(E) sec. 4.2.4
ISO 8601:2004(E) sec. 4.1.2.3(b)
ISO 8601:2004(E) sec. 4.1.2.3(a)
ISO 8601:2004(E) sec. 4.1.4.3
ISO 8601:2004(E) sec. 4.3.2
Constructors
ExtendedFormatISO 8601:2004(E) sec. 2.3.4. Use hyphens and colons.
BasicFormatISO 8601:2004(E) sec. 2.3.3. Omit hyphens and colons. "The basic format should be avoided in plain text."