Class DateRange


  • public final class DateRange
    extends com.azure.core.util.ExpandableStringEnum<DateRange>
    Defines values for DateRange.
    • Field Detail

      • TODAY

        public static final DateRange TODAY
        Static value today for DateRange.
      • YESTERDAY

        public static final DateRange YESTERDAY
        Static value yesterday for DateRange.
      • WEEK

        public static final DateRange WEEK
        Static value week for DateRange.
      • MONTH

        public static final DateRange MONTH
        Static value month for DateRange.
      • YEAR

        public static final DateRange YEAR
        Static value year for DateRange.
    • Constructor Detail

      • DateRange

        public DateRange()
    • Method Detail

      • fromString

        public static DateRange fromString​(String name)
        Creates or finds a DateRange from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding DateRange.