An expanded date.
struct DateTime {
offset: i64,
year: i64,
day_in_year: i16,
month: i8,
day: i8,
hour: i8,
minute: i8,
second: i8,
weekday: Weekday,
summer_time: bool,
}| Name | Description |
|---|---|
| offset | The offset from UTC in seconds. |
| year | The year. |
| day_in_year | The day in the year starting at 0. |
| month | The month in the year starting at 1. |
| day | The day in the month starting at 1. |
| hour | The hour. |
| minute | The minute. |
| second | The second. |
| weekday | The weekday. |
| summer_time | Whether the date falls into summer time. |
| Name | Description |
|---|---|
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| Debug | Objects that can be formatted in a "debug" form. |
| Eq | Objects that implement the binary |
| MaybeClone | Objects that can be duplicated. |