Class HourlyDuration

java.lang.Object
com.azure.core.util.ExpandableStringEnum<HourlyDuration>
com.azure.maps.weather.models.HourlyDuration

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

    • ONE_HOUR

      public static final HourlyDuration ONE_HOUR
      Static value 1 for HourlyDuration.
    • TWELVE_HOURS

      public static final HourlyDuration TWELVE_HOURS
      Static value 12 for HourlyDuration.
    • TWENTY_FOUR_HOURS

      public static final HourlyDuration TWENTY_FOUR_HOURS
      Static value 24 for HourlyDuration.
    • FORTY_EIGHT_HOURS

      public static final HourlyDuration FORTY_EIGHT_HOURS
      Static value 48 for HourlyDuration.
    • SEVENTY_TWO_HOURS

      public static final HourlyDuration SEVENTY_TWO_HOURS
      Static value 72 for HourlyDuration.
    • NINETY_SIX_HOURS

      public static final HourlyDuration NINETY_SIX_HOURS
      Static value 96 for HourlyDuration.
  • Constructor Details

    • HourlyDuration

      public HourlyDuration()
  • Method Details

    • fromInt

      public static HourlyDuration fromInt(int name)
      Creates or finds a HourlyDuration from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding HourlyDuration.
    • values

      public static Collection<HourlyDuration> values()
      Gets known HourlyDuration values.
      Returns:
      known HourlyDuration values.