Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- pd :: HasDate d => Pattern (d -> d) (d -> String) String
- pD :: (HasDate (c cal), IsCalendar cal, Bounded (Month cal), Read (Month cal), Show (Month cal), Enum (Month cal)) => Pattern (c cal -> c cal) (c cal -> String) String
- pyyyy :: HasDate d => Pattern (d -> d) (d -> String) String
- pMM :: HasDate d => Pattern (d -> d) (d -> String) String
- pMMMM :: forall cal d c. (d ~ c cal, IsCalendar cal, HasDate d, Bounded (Month cal), Read (Month cal), Show (Month cal), Enum (Month cal)) => Pattern (d -> d) (d -> String) String
- pdd :: HasDate d => Pattern (d -> d) (d -> String) String
Standard Patterns
pd :: HasDate d => Pattern (d -> d) (d -> String) String Source #
This is the short date pattern, currently defined as "ddMMyyyy".
pD :: (HasDate (c cal), IsCalendar cal, Bounded (Month cal), Read (Month cal), Show (Month cal), Enum (Month cal)) => Pattern (c cal -> c cal) (c cal -> String) String Source #
This is the long date pattern, currently defined as "dddd, dd MMMM yyyy".
Custom Patterns
Used to create specialized patterns.
pyyyy :: HasDate d => Pattern (d -> d) (d -> String) String Source #
Absolute year in exactly 4 digits; values 0000-9999 (note: not all dates will be valid in all calendars, if the date is too early it will clamp to earliest valid date)
pMM :: HasDate d => Pattern (d -> d) (d -> String) String Source #
Month of year specified as a number - zero-padded