Class TimezoneGetter


  • public abstract class TimezoneGetter
    extends Object
    This class provides a way to add an implementation specific way to access the current timezone.
    • Constructor Detail

      • TimezoneGetter

        public TimezoneGetter()
    • Method Detail

      • getInstance

        public static TimezoneGetter getInstance()
        Retrieves the singleton instance of this class.
        Returns:
        TimezoneGetter the single instance of this class.
      • setInstance

        public static void setInstance​(TimezoneGetter getter)
        Sets the singleton instance of this class.
        Parameters:
        instance - TimezoneGetter the single instance of this class.
      • getId

        public abstract String getId()
        Retrieves the ID of the current time zone.
        Returns:
        String the ID of the current time zone.