Package smile.util

Interface Dates


public interface Dates
Date and time utility functions.
  • Method Details

    • range

      static LocalDate[] range(LocalDate from, LocalDate to)
      Returns the dates in the range.
      Parameters:
      from - the inclusive start date.
      to - the exclusive end date.
      Returns:
      the dates in the range.
    • range

      static LocalDate[] range(LocalDate from, int days)
      Returns the dates in the range.
      Parameters:
      from - the inclusive start date.
      days - the number of days. If negative, returns the proceeding dates.
      Returns:
      the dates in the range.