Expand description
Time utilities
Structsยง
- Date
- Date
Time - Represents a UTC
DateTimewith individual fields for date and time components. - Nano
Timestamp - Timestamp
- Wrapper struct to represent system timestamps.
Enumsยง
Constantsยง
- DAYS_
IN_ ๐MONTHS - Represents the number of days in each month for both leap and non-leap years.
- MIN_
IN_ ๐HOUR - SECS_
IN_ ๐DAY - SECS_
IN_ ๐HOUR
Functionsยง
- fmt_
duration - Formats a
Durationinto a user-friendly format using days, hours, minutes, and seconds, and returns the formatted string. - timestamp_
to_ date