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