Timex.Types (timex v3.6.3) View Source
Link to this section Summary
Link to this section Types
Specs
calendar_types() :: Date.t() | DateTime.t() | NaiveDateTime.t() | Time.t()
Specs
Specs
Specs
day() :: Calendar.day()
Specs
daynum() :: 1..366
Specs
hour() :: Calendar.hour()
Specs
Specs
megaseconds() :: non_neg_integer()
Specs
microsecond() :: Calendar.microsecond()
Specs
microsecond_datetime() :: {date(), microsecond_time()}
Specs
microsecond_time() :: {hour(), minute(), second(), microsecond() | microseconds()}
Specs
microseconds() :: non_neg_integer()
Specs
minute() :: Calendar.minute()
Specs
month() :: Calendar.month()
Specs
num_of_days() :: 28..31
Specs
second() :: Calendar.second()
Specs
seconds() :: non_neg_integer()
Specs
shift_units() :: :milliseconds | :seconds | :minutes | :hours | :days | :weeks | :years
Specs
std_offset() :: Calendar.std_offset()
Specs
Specs
time_units() :: :microsecond | :microseconds | :millisecond | :milliseconds | :second | :seconds | :minute | :minutes | :hour | :hours | :day | :days | :week | :weeks | :year | :years
Specs
time_zone() :: Calendar.time_zone()
Specs
timestamp() :: {megaseconds(), seconds(), microseconds()}
Specs
tz_offset() :: -14..12
Specs
utc_offset() :: Calendar.utc_offset()
Specs
Specs
valid_datetime() :: Date.t() | DateTime.t() | NaiveDateTime.t() | Time.t() | datetime() | date() | microsecond_datetime()
Specs
Specs
Specs
week_of_month() :: 1..5
Specs
weekday() :: 1..7
Specs
weekday_name() :: :monday | :tuesday | :wednesday | :thursday | :friday | :saturday | :sunday
Specs
weeknum() :: 1..53
Specs
Specs
year() :: Calendar.year()
Specs
zone_abbr() :: Calendar.zone_abbr()