Date range picker abstraction, being possible to select a DateTimeRange, or custom ranges, such as:

  • Always get an interval between Sunday (first day of the week) until the current day of this week
  • Always get an interval between the 1st of the month to the current day