Crate time_util[−][src]
Expand description
A crate for more or less frequently used time parsing and formatting functionality.
The crate revolves around the std::time::SystemTime
type in that
we attempt to convert into that or use this as the base to convert
from. We treat such a time as having no associated time zone. Think
of it as being in UTC.
Functions
days_back | |
days_back_from | |
next_day | Calculate the time stamp representing the next day of the given time stamp. |
optional_system_time_from_str | Deserialize an optional time stamp. |
optional_system_time_to_rfc3339 | Serialize an optional |
optional_system_time_to_rfc3339_with_nanos | Serialize an optional |
parse_system_time_from_date_str | Parse a |
parse_system_time_from_str | Parse a |
print_system_time_to_iso8601_date | Print a |
print_system_time_to_rfc3339 | Print a |
print_system_time_to_rfc3339_with_nanos | Print a |
system_time_from_date_str | Deserialize a |
system_time_from_millis | Deserialize a |
system_time_from_millis_in_new_york | Deserialize a |
system_time_from_secs | Deserialize a |
system_time_from_str | Deserialize a time stamp as a |
system_time_to_millis | Serialize a |
system_time_to_millis_in_new_york | Serialize a |
system_time_to_rfc3339 | Serialize a |
system_time_to_rfc3339_with_nanos | Serialize a |
tomorrow | Calculate a |