# Elixir v1.10.3 Date.Range View Source

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.

# Link to this section Summary

## Types

t()

# Link to this section Types

Link to this type

# t()

View Source

## Specs

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