|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface provides methods that allow you to access a collection of business calendars and information related to their run days.
| Method Summary | |
IBusinessCalendarDays |
getDays()
Returns a collection that contains calendar objects. |
java.lang.String[] |
getGroupDescriptions(int groupID,
java.util.Locale locale)
Returns a collection that contains calendar run day descriptions. |
int[] |
getGroupIDs(int inDay,
int inMonth,
int inYear)
Returns a collection that contains calendar run day identifiers. |
boolean |
hasMoreThanOneDay(int groupID)
Determines whether a certain group contains more than one run day. |
boolean |
isRunDay(int inDay,
int inMonth,
int inYear)
Returns a boolean that indicates whether a specified date is a run day.
|
void |
remove(int startDay,
int startMonth,
int startYear,
int endDay,
int endMonth,
int endYear)
Removes the specified run day from the business calendar collection. |
void |
removeGroup(int groupID)
Removes the group specified by the given group ID from the calendar collection. |
| Method Detail |
public IBusinessCalendarDays getDays()
throws SDKException
Returns a collection that contains calendar objects.
IBusinessCalendarDays collection.
SDKException - This is thrown if the process is unsuccessful.IBusinessCalendarDays
public boolean isRunDay(int inDay,
int inMonth,
int inYear)
throws SDKException
Returns a boolean that indicates whether a specified date is a run day.
inDay - A int specifies the day (1 - 31)inMonth - Aint specifies the month (0-11)inYear - Aint specifies the year (1 - 0x10000000)
boolean if the specified date is a run day
throws SDKException if passing parameters are not valid
SDKException
public void remove(int startDay,
int startMonth,
int startYear,
int endDay,
int endMonth,
int endYear)
throws SDKException
Removes the specified run day from the business calendar collection.
startDay - A int specifies the start day (1 - 31)startMonth - Aint specifies the start month (0-11)startYear - Aint specifies the start year (1 - 0x10000000)endDay - A int specifies the end day (1 - 31)endMonth - Aint specifies the end month (0-11)endYear - Aint specifies the end year (1 - 0x10000000)
SDKException - This is thrown if the process is unsuccessful.
public void removeGroup(int groupID)
throws SDKException
Removes the group specified by the given group ID from the calendar collection.
groupID - Aint specifies the id of a group
SDKException - This is thrown if the process is unsuccessful.
public int[] getGroupIDs(int inDay,
int inMonth,
int inYear)
throws SDKException
Returns a collection that contains calendar run day identifiers.
inDay - An int that specifies the day (1 - 31).inMonth - An int that specifies the month (0 - 11).inYear - An int that specifies the year (1 - 0x10000000).
int array that contains all the group IDs.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.String[] getGroupDescriptions(int groupID,
java.util.Locale locale)
throws SDKException
Returns a collection that contains calendar run day descriptions.
groupID - A int specifies a group id
String array that contains all the descriptions.
SDKException - This is thrown if the process is unsuccessful.
public boolean hasMoreThanOneDay(int groupID)
throws SDKException
Determines whether a certain group contains more than one run day.
groupID - A int specifies a group id
boolean if a group contains more than one day
SDKException - This is thrown if the process is unsuccessful.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||