elixir / 1.5.3 / date.range.html /

Date.Range

Returns an inclusive range between dates.

Ranges must be created with the Date.range/2 function.

The following fields are public:

  • :first - the initial date on the range
  • :last - the last date on the range

The remaining fields are private and should not be accessed.

Summary

Types

t()

Types

t()

t() :: %Date.Range{first: Date.t(), first_in_iso_days: Calendar.days(), last: Date.t(), last_in_iso_days: Calendar.days()}

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.5.3/Date.Range.html