Class DateList

    • Constructor Detail

      • DateList

        public DateList()
        Default constructor.
      • DateList

        public DateList​(boolean unmodifiable)
      • DateList

        public DateList​(Value aType)
        Parameters:
        aType - the type of dates contained by the instance
      • DateList

        public DateList​(Value aType,
                        TimeZone timezone)
        Default constructor.
        Parameters:
        aType - specifies the type of dates (either date or date-time)
        timezone - the timezone to apply to dates contained by the instance
      • DateList

        public DateList​(String aValue,
                        Value aType)
                 throws ParseException
        Parameters:
        aValue - a string representation of a date list
        aType - the date types contained in the instance
        Throws:
        ParseException - where the specified string is not a valid date list
      • DateList

        public DateList​(String aValue,
                        Value aType,
                        TimeZone timezone)
                 throws ParseException
        Parses the specified string representation to create a list of dates.
        Parameters:
        aValue - a string representation of a list of dates
        aType - specifies the type of dates (either date or date-time)
        timezone - the timezone to apply to contained dates
        Throws:
        ParseException - if an invalid date representation exists in the date list string
      • DateList

        public DateList​(DateList list,
                        Value type)
        Constructs a new date list of the specified type containing the dates in the specified list.
        Parameters:
        list - a list of dates to include in the new list
        type - the type of the new list