Class TimeZoneParsing


  • public class TimeZoneParsing
    extends AbstractParsing
    For parsing TimeZone options.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • TimeZoneParsing

        public TimeZoneParsing()
    • Method Detail

      • toString

        public static String toString​(AbstractOption option,
                                      Object object)
        Returns the timezone as string.
        Parameters:
        option - the current option
        object - the timezone object to convert
        Returns:
        the generated string
      • valueOf

        public static Object valueOf​(AbstractOption option,
                                     String str)
        Returns a timezone generated from the string.
        Parameters:
        option - the current option
        str - the string to convert to a timezone
        Returns:
        the generated timezone