Package index
-
linear_time() - Linear time representation
-
year()yearquarter()yearmonth() - Gregorian continuous time representations
-
yearweek() - ISO 8601 year-week time representation
-
cyclical_time() - Cyclical time representation
-
month_of_year()day_of_year()day_of_month() - Gregorian cyclical time representations
-
day_of_week()week_of_year() - ISO 8601 day of week
Calendar Systems
Calendar systems are composed of their associated time units. These define how time is divided and measured in different calendar systems.
Gregorian Calendar System
The standard civil calendar system with years, quarters, months, days, and sub-day units.
-
tu_year()tu_quarter()tu_month()tu_day()tu_hour()tu_minute()tu_second()tu_millisecond() - Gregorian time unit classes
-
tu_isoyear()tu_week() - ISO 8601 time unit classes
Extensibility methods
These low-level functions define the relationships and labels between time units. Adding S7 methods for them allow the creation of custom time units and calendars.
-
chronon_cardinality()chronon_cardinality.S7_methods() - Cardinality between time units
-
chronon_convert()chronon_convert.S7_methods() - Convert between chronons
-
chronon_divmod()chronon_divmod.S7_methods() - Convert between chronons of different time units
-
chronon_common() - Find a common chronon from a set of chronons
-
mt_unit() - Base S7 class for creating new time units
-
time_chronon() - Obtain the chronon of a time object
-
time_unit_full()time_unit_abbr() - Time units as a string
-
cyclical_labels()cyclical_labels.S7_methods() - Friendly labels for cyclical relationships
-
mixtime_valid() - Check if times can be used within mixtime
Mixtime Objects
Functions for creating and working with mixtime objects that can contain multiple time granularities.
-
new_mixtime() - Create a new mixtime
-
as_mixtime() - Convert time class into a mixtime
-
is_mixtime() - Check if the object is a mixtime
-
round_time()ceiling_time()floor_time() - Round, floor and ceiling transformations for time objects