Module chrono::format
[-] [+]
[src]
Formatting utilities for date and time.
Reexports
pub use self::strftime::StrftimeItems; |
pub use self::parsed::Parsed; |
Modules
| parsed | A collection of parsed date and time items. They can be constructed incrementally while being checked for consistency. |
| strftime |
|
Structs
| DelayedFormat | A temporary object which can be used as an argument to |
| ParseError | An error from the |
Enums
| Fixed | Fixed-format item types. |
| Item | A single formatting item. This is used for both formatting and parsing. |
| Numeric | Numeric item types. They have associated formatting width (FW) and parsing width (PW). |
| Pad | Padding characters for numeric items. |
Functions
| format | Tries to format given arguments with given formatting items.
Internally used by |
| parse | Tries to parse given string into |
Type Definitions
| ParseResult | Same to |