Class DaysOfWeek

    • Constructor Detail

      • DaysOfWeek

        public DaysOfWeek()
    • Method Detail

      • enumerateDayName

        public Enumeration<String> enumerateDayName()
        Method enumerateDayName.
        Returns:
        an Enumeration over all possible elements of this collection
      • getDayName

        public String[] getDayName()
        Method getDayName.Returns the contents of the collection in an Array.

        Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

        Returns:
        this collection as an Array
      • getDayNameCollection

        public List<String> getDayNameCollection()
        Method getDayNameCollection.Returns a reference to 'dayNameList'. No type checking is performed on any modifications to the Vector.
        Returns:
        a reference to the Vector backing this class
      • getDayNameCount

        public int getDayNameCount()
        Method getDayNameCount.
        Returns:
        the size of this collection
      • iterateDayName

        public Iterator<String> iterateDayName()
        Method iterateDayName.
        Returns:
        an Iterator over all possible elements in this collection
      • removeAllDayName

        public void removeAllDayName()
      • removeDayName

        public boolean removeDayName​(String vDayName)
        Method removeDayName.
        Parameters:
        vDayName -
        Returns:
        true if the object was removed from the collection.
      • removeDayNameAt

        public String removeDayNameAt​(int index)
        Method removeDayNameAt.
        Parameters:
        index -
        Returns:
        the element removed from the collection
      • setDayName

        public void setDayName​(String[] vDayNameArray)
        Parameters:
        vDayNameArray -
      • setDayName

        public void setDayName​(List<String> vDayNameList)
        Sets the value of 'dayNameList' by copying the given Vector. All elements will be checked for type safety.
        Parameters:
        vDayNameList - the Vector to copy.
      • setDayNameCollection

        public void setDayNameCollection​(List<String> dayNameList)
        Deprecated.
        Sets the value of 'dayNameList' by setting it to the given Vector. No type checking is performed.
        Parameters:
        dayNameList - the Vector to set.