| Crates.io | irox-time |
| lib.rs | irox-time |
| version | 0.4.9 |
| created_at | 2023-10-16 00:32:34.181346+00 |
| updated_at | 2025-03-01 17:34:21.074701+00 |
| description | Date and Time types to manage the inherent complexity of dealing with the fourth dimension. |
| homepage | https://github.com/spmadden/irox |
| repository | https://github.com/spmadden/irox |
| max_upload_size | |
| id | 1004218 |
| size | 159,458 |
A date & time library that aims for ease of use using static compile-time types based on the Proleptic Gregorian Calendar.
Goals:
EpochsNon-goals:
Eventually:
time - Contains the base Time struct, describing a standard Hours/minutes/seconds framework.datetime - Contains UTCDateTime structs, describing a Date with a Timeepoch - Contains Epoch, UnixEpoch, GPSEpoch, and others, providing the datum anchor for timestamps
UnixTimestamp, GPSTimestamp, etc.format - Date & Time Formatters & Parsers
gregorian - Contains Date and Month, that describe a gregorian calendar date.std - adds 'std' support:
UnixTimestamp::now() -> UnixTimestampUnixTimestamp::elapsed() -> DurationUTCDateTime::now() ->UTCDateTimestd::error::Error on errors