Class Time

    • Constructor Detail

      • Time

        public Time​(TimeZone timezone)
        Deprecated.
        Parameters:
        timezone - a timezone for the instance
      • Time

        public Time​(TimeZone timezone,
                    boolean utc)
        Deprecated.
        Parameters:
        timezone - a timezone for the instance
        utc - indicates if the time is in UTC
      • Time

        public Time​(long time,
                    TimeZone timezone)
        Deprecated.
        Parameters:
        time - a time value in milliseconds from the epoch
        timezone - a timezone for the instance
      • Time

        public Time​(long time,
                    TimeZone timezone,
                    boolean utc)
        Deprecated.
        Parameters:
        time - a time value in milliseconds from the epoch
        timezone - a timezone for the instance
        utc - indicates if the time is in UTC
      • Time

        public Time​(Date time,
                    TimeZone timezone)
        Deprecated.
        Parameters:
        time - a time value in milliseconds from the epoch
        timezone - a timezone for the instance
      • Time

        public Time​(Date time,
                    TimeZone timezone,
                    boolean utc)
        Deprecated.
        Parameters:
        time - a time value as a Java date instance
        timezone - a timezone for the instance
        utc - indicates if the time is in UTC
      • Time

        public Time​(String value,
                    TimeZone timezone,
                    boolean utc)
             throws ParseException
        Deprecated.
        Parameters:
        value -
        timezone -
        utc -
        Throws:
        ParseException - where the specified value is not a valid time string
    • Method Detail

      • isUtc

        public final boolean isUtc()
        Deprecated.
        Returns:
        true if time is utc