Overview of the hms class
mainThe hms package provides a class for storing durations or time-of-day values, displayed in hh:mm:ss format. It is designed to simplify data exchange with databases and spreadsheets.
Key features:
- Internal Storage: Values are stored as a numeric vector representing the number of seconds since midnight.
- Flexibility: Supports values that exceed the 24-hour boundary or are negative.
- Precision: By default, displays fractional seconds up to a microsecond.
- Integration: Based on the
difftimeclass and can be used as a column in a data frame.