Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- pt :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String
- pT :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String
- pHH :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String
- phh :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String
- pmm :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String
- pss :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String
- pp :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String
- ppp :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String
- hour' :: HasLocalTime lt => Pattern (TimeInfo -> TimeInfo) (lt -> String) String
- minute' :: HasLocalTime lt => Pattern (TimeInfo -> TimeInfo) (lt -> String) String
- second' :: HasLocalTime lt => Pattern (TimeInfo -> TimeInfo) (lt -> String) String
Standard Patterns
pt :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String Source #
Short format pattern. Currently defined as "HH:mm" but should eventually follow the locale
pT :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String Source #
Long format pattern. Currently defined as "HH:mm:ss" but should eventually follow locale
Custom Patterns
Used to create specialized patterns
pHH :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String Source #
The double digit hour of day in the 24-hour clock; a value 00-23.
phh :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String Source #
The double digit hour of day in the 12-hour clock; a value 1-12. When parsing, if no am/pm designator is specified, the parsed value is in the morning.
pmm :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String Source #
The double digit minute of day in the 24-hour clock; a value 00-59.
pss :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String Source #
The double digit second of day in the 24-hour clock; a value 00-59.
pp :: HasLocalTime lt => Pattern (lt -> lt) (lt -> String) String Source #
12 hour clock time period designation short form; either A or P