public class DaysOfWeek extends Object implements Serializable
| Constructor and Description | 
|---|
DaysOfWeek()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addDayName(int index,
          String vDayName)  | 
void | 
addDayName(String vDayName)  | 
Enumeration<String> | 
enumerateDayName()
Method enumerateDayName. 
 | 
String[] | 
getDayName()
Method getDayName.Returns the contents of the collection in an Array. 
 | 
String | 
getDayName(int index)
Method getDayName. 
 | 
List<String> | 
getDayNameCollection()
Method getDayNameCollection.Returns a reference to 'dayNameList'. 
 | 
int | 
getDayNameCount()
Method getDayNameCount. 
 | 
Iterator<String> | 
iterateDayName()
Method iterateDayName. 
 | 
void | 
removeAllDayName()  | 
boolean | 
removeDayName(String vDayName)
Method removeDayName. 
 | 
String | 
removeDayNameAt(int index)
Method removeDayNameAt. 
 | 
void | 
setDayName(int index,
          String vDayName)  | 
void | 
setDayName(List<String> vDayNameList)
Sets the value of 'dayNameList' by copying the given Vector. 
 | 
void | 
setDayName(String[] vDayNameArray)  | 
void | 
setDayNameCollection(List<String> dayNameList)
Deprecated.   
 | 
public void addDayName(String vDayName) throws IndexOutOfBoundsException
vDayName - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic void addDayName(int index,
                       String vDayName)
                throws IndexOutOfBoundsException
index - vDayName - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic Enumeration<String> enumerateDayName()
public String getDayName(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic String[] getDayName()
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.
public List<String> getDayNameCollection()
public int getDayNameCount()
public Iterator<String> iterateDayName()
public void removeAllDayName()
public boolean removeDayName(String vDayName)
vDayName - public String removeDayNameAt(int index)
index - public void setDayName(int index,
                       String vDayName)
                throws IndexOutOfBoundsException
index - vDayName - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic void setDayName(String[] vDayNameArray)
vDayNameArray - public void setDayName(List<String> vDayNameList)
vDayNameList - the Vector to copy.Copyright © 2021. All rights reserved.