Module

Date

Changes by version

Elixir 1.17.0

· 2 changes

Enhancement Tool: Elixir

Add Date.shift/2 to shift dates with duration and calendar-specific semantics

Enhancement Tool: Elixir

Allow Date to accept years outside of -9999..9999 range

Elixir 1.16.0

· 1 change

Hard Deprecation Tool: Elixir

Deprecate inferring a range with negative step, call Date.range/3 with a negative step instead

Elixir 1.15.0

· 1 change

Enhancement Tool: Elixir

Add Date.before?/2 and Date.after?/2

Elixir 1.12.0

· 1 change

Enhancement Tool: Elixir

Support steps via Date.range/3

Elixir 1.8.0

· 1 change

Enhancement Tool: Elixir

Add Date.day_of_year/1, Date.quarter_of_year/1, Date.year_of_era/1, and Date.day_of_era/1

Elixir 1.7.0

· 1 change

Enhancement Tool: Elixir

Add Date.months_in_year/1 function