Class EventAnalyticsUtil.TimeFramePeriod

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    EventAnalyticsUtil

    public static class EventAnalyticsUtil.TimeFramePeriod
    extends Object
    implements Serializable
    Represents the timeFramePeriod.
    Since:
    14.2.0
    Version:
    $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
    See Also:
    Serialized Form
    • Constructor Detail

      • TimeFramePeriod

        public TimeFramePeriod​(int value,
                               String unit)
        This class constructor.
        Parameters:
        value - the amount of the period.
        unit - the time unit of the period.
        Since:
        14.2.0
    • Method Detail

      • getValue

        public int getValue()
        Returns the value.
        Returns:
        the value.
        Since:
        14.2.0
      • localizationKey

        public String localizationKey()
        Returns the localizable string key for the unit.
        Returns:
        the string key for the unit.
        Since:
        14.2.0