Search
timex
v3.7.11
v3.7.9
v3.7.8
v3.7.7
v3.7.6
v3.7.5
v3.7.3
v3.7.2
v3.7.1
v3.7.0
v3.6.4
v3.6.3
v3.6.2
v3.6.1
v3.6.0
v3.5.0
v3.4.2
v3.4.1
v3.3.0
v3.2.2
v3.2.1
v3.2.0
v3.1.25
v3.1.24
v3.1.23
v3.1.22
v3.1.21
v3.1.20
v3.1.19
v3.1.18
v3.1.17
v3.1.16
v3.1.15
v3.1.13
v3.1.12
v3.1.11
v3.1.10
v3.1.9
v3.1.8
v3.1.7
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.8
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.1
v3.0.0
v2.2.1
v2.1.6
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.0
v1.0.2
v1.0.1
v1.0.0
v1.0.0-rc4
v1.0.0-rc3
v1.0.0-rc2
v1.0.0-rc1
v1.0.0-pre
v0.19.5
v0.19.4
v0.19.3
v0.18.2
v0.18.1
v0.18.0
v0.17.0
v0.15.0
v0.14.3
v0.14.1
v0.14.0
v0.13.5
v0.13.4
v0.13.3
Pages
Modules
Timex
Sections
Timex
Migrating to Timex 3.x
Getting Started
Extensibility
License
Summary
Types
between_options/0
set_options/0
shift_options/0
Functions
add/2
after?/2
before?/2
beginning_of_day/1
beginning_of_month/1
beginning_of_month/2
beginning_of_quarter/1
beginning_of_week/2
beginning_of_year/1
between?/4
century/0
century/1
compare/2
compare/3
day/1
day_name/1
day_shortname/1
day_to_num/1
days_in_month/1
days_in_month/2
days_to_beginning_of_week/2
days_to_end_of_week/2
diff/2
diff/3
end_of_day/1
end_of_month/1
end_of_month/2
end_of_quarter/1
end_of_quarter/2
end_of_week/2
end_of_year/1
epoch/0
equal?/3
format!/2
format!/3
format/2
format/3
format_duration/1
format_duration/2
from_iso_day/1
from_iso_day/2
from_iso_triplet/1
from_now/1
from_now/2
from_now/3
from_unix/2
is_leap?/1
is_valid_time?/1
is_valid_timezone?/1
is_valid?/1
iso_triplet/1
iso_week/1
iso_week/3
lformat!/3
lformat!/4
lformat/3
lformat/4
lformat_duration/2
lformat_duration/3
local/0
local/1
month_name/1
month_shortname/1
month_to_num/1
normalize/2
now/0
now/1
parse!/2
parse!/3
parse/2
parse/3
quarter/1
set/2
shift/2
subtract/2
timezone/2
timezones/0
to_date/1
to_datetime/1
to_datetime/2
to_erl/1
to_gregorian_microseconds/1
to_gregorian_seconds/1
to_julian/1
to_naive_datetime/1
to_unix/1
today/0
today/1
validate_format/1
validate_format/2
week_of_month/1
week_of_month/3
weekday!/2
weekday/1
weekday/2
zero/0
Timex.AmbiguousDateTime
Sections
Ambiguity #1 - Non-existent times
Ambiguity #2 - Times with more than one valid zone period
Summary
Types
t/0
Timex.AmbiguousTimezoneInfo
Summary
Types
t/0
Functions
new/2
Timex.Calendar.Julian
Summary
Functions
date_for_day_of_year/3
day_of_week/2
day_of_week/4
julian_date/1
julian_date/3
julian_date/6
Timex.Comparable
Summary
Types
comparable/0
compare_result/0
constants/0
diff_result/0
granularity/0
t/0
Functions
compare/3
diff/3
Timex.Date
Timex.DateTime
Timex.Duration
Summary
Types
measurement_units/0
t/0
to_options/0
units/0
Functions
abs/1
add/2
diff/3
elapsed/3
epoch/0
epoch/1
from_clock/1
from_days/1
from_erl/1
from_hours/1
from_microseconds/1
from_milliseconds/1
from_minutes/1
from_seconds/1
from_time/1
from_weeks/1
invert/1
measure/1
measure/2
measure/3
normalize/1
now/1
parse!/1
parse!/2
parse/1
parse/2
scale/2
sub/2
to_clock/1
to_days/1
to_days/2
to_erl/1
to_hours/1
to_hours/2
to_microseconds/1
to_microseconds/2
to_milliseconds/1
to_milliseconds/2
to_minutes/1
to_minutes/2
to_seconds/1
to_seconds/2
to_string/1
to_time!/1
to_time/1
to_weeks/1
to_weeks/2
zero/0
Timex.Format.DateTime.Formatter
Summary
Callbacks
format!/2
format/2
lformat!/3
lformat/3
tokenize/1
Functions
format!/3
format/3
format_token/5
format_token/6
lformat!/4
lformat/4
validate/2
Timex.Format.DateTime.Formatters.Default
Sections
Directive format
List of all directives
Summary
Functions
format!/2
format/2
format/3
lformat!/3
lformat/3
lformat/4
tokenize/1
Timex.Format.DateTime.Formatters.Relative
Summary
Functions
format!/2
format/2
lformat!/3
lformat/3
relative_to/3
relative_to/4
tokenize/1
Timex.Format.DateTime.Formatters.Strftime
Sections
Directive format
List of all directives
Summary
Functions
format!/2
format/2
lformat!/3
lformat/3
tokenize/1
Timex.Format.Duration.Formatter
Summary
Callbacks
format/1
lformat/2
Functions
format/1
format/2
lformat/2
lformat/3
Timex.Format.Duration.Formatters.Default
Summary
Functions
format/1
lformat/2
Timex.Format.Duration.Formatters.Humanized
Summary
Functions
format/1
lformat/2
Timex.Gettext
Summary
Functions
dgettext/3
dgettext_noop/2
dngettext/5
dngettext_noop/3
dpgettext/4
dpgettext_noop/3
dpngettext/6
dpngettext_noop/4
gettext/2
gettext_comment/1
gettext_noop/1
handle_missing_bindings/2
handle_missing_plural_translation/7
handle_missing_translation/5
lgettext/5
lngettext/7
ngettext/4
ngettext_noop/2
pgettext/3
pgettext_noop/2
pngettext/5
pngettext_noop/3
Timex.Interval
Sections
Examples
Summary
Types
t/0
valid_interval_step/0
valid_interval_steps/0
valid_step_unit/0
Functions
contains?/2
difference/2
duration/2
format!/3
format/3
new/1
overlaps?/2
with_step/2
Timex.NaiveDateTime
Timex.Parse.DateTime.Parser
Summary
Functions
parse!/3
parse/2
parse/3
Timex.Parse.DateTime.Parsers.ISO8601Extended
Summary
Types
parser/0
previous_parser/0
Functions
parse/1
parse_extended/1
parse_extended/4
parse_fractional_seconds/3
parse_offset/3
parse_offset/4
Timex.Parse.DateTime.Tokenizer
Summary
Callbacks
apply/3
tokenize/1
Timex.Parse.DateTime.Tokenizers.Default
Summary
Functions
apply/3
tokenize/1
Timex.Parse.DateTime.Tokenizers.Strftime
Summary
Functions
apply/3
tokenize/1
Timex.Parse.Duration.Parser
Summary
Callbacks
parse/1
Functions
parse!/1
parse!/2
parse/1
parse/2
Timex.Parse.Duration.Parsers.ISO8601Parser
Summary
Functions
parse/1
Timex.Parse.Timezones.Posix
Sections
Format
Example
Summary
Functions
parse/1
Timex.Parse.ZoneInfo.Parser
Summary
Functions
parse/1
parse_file/1
Timex.Parse.ZoneInfo.Parser.Zone
Timex.PosixTimezone
Summary
Types
rule_bound/0
t/0
Functions
dst_end/2
dst_start/2
is_dst?/2
to_period_for_date/2
to_timezone_info/2
Timex.Protocol
Summary
Types
t/0
Functions
beginning_of_day/1
beginning_of_month/1
beginning_of_quarter/1
beginning_of_week/2
beginning_of_year/1
century/1
day/1
days_in_month/1
end_of_day/1
end_of_month/1
end_of_quarter/1
end_of_week/2
end_of_year/1
from_iso_day/2
is_leap?/1
is_valid?/1
iso_week/1
quarter/1
set/2
shift/2
to_date/1
to_datetime/2
to_erl/1
to_gregorian_microseconds/1
to_gregorian_seconds/1
to_julian/1
to_naive_datetime/1
to_unix/1
week_of_month/1
weekday/1
weekday/2
Timex.Time
Summary
Functions
to_12hour_clock/1
to_24hour_clock/2
Timex.Timezone
Summary
Functions
beginning_of_day/1
convert/2
end_of_day/1
exists?/1
get/2
get/3
local/0
local/1
name_of/1
resolve/3
total_offset/1
total_offset/2
tzdata_to_timezone/2
Timex.Timezone.Database
Timex.Timezone.Local
Summary
Types
gregorian_seconds/0
Functions
lookup/0
parse_tzfile/1
Timex.TimezoneInfo
Summary
Types
datetime/0
day_of_week/0
from_constraint/0
offset/0
t/0
until_constraint/0
Functions
create/6
format_offset/1
from_datetime/1
Timex.Translator
Summary
Functions
current_locale/0
get_day_periods/1
get_months/1
get_months_abbreviated/1
get_weekdays/1
get_weekdays_abbreviated/1
translate/3
translate_plural/5
with_locale/2
Timex.Types
Summary
Types
calendar_types/0
date/0
datetime/0
day/0
daynum/0
hour/0
iso_triplet/0
megaseconds/0
microsecond/0
microsecond_datetime/0
microsecond_time/0
microseconds/0
minute/0
month/0
num_of_days/0
second/0
seconds/0
shift_units/0
std_offset/0
time/0
time_units/0
time_zone/0
timestamp/0
tz_offset/0
utc_offset/0
valid_date/0
valid_datetime/0
valid_time/0
valid_timezone/0
week_of_month/0
weekday/0
weekday_name/0
weeknum/0
weekstart/0
year/0
zone_abbr/0
Exceptions
Timex.Format.FormatError
Timex.Interval.FormatError
Timex.Parse.ParseError
Settings
View Source
Timex.Interval.FormatError
exception
(timex v3.7.11)
Thrown when an error occurs with formatting an Interval
×