Constructor and Description |
---|
Calendar.ExcludedDay() |
Modifier and Type | Method and Description |
---|---|
int |
getDay()
This method returns the day.
|
int |
getMonth()
This method returns the month.
|
String |
getReason()
This method returns the reason for exclusion.
|
int |
getYear()
This method returns the year.
|
protected boolean |
isExcluded(Calendar cal)
This method determines whether the supplied calendar
is associated with the excluded day.
|
Calendar.ExcludedDay |
setDay(int val)
This method sets the day.
|
Calendar.ExcludedDay |
setMonth(int val)
This method sets the month.
|
Calendar.ExcludedDay |
setReason(String val)
This method sets the reason for exclusion.
|
Calendar.ExcludedDay |
setYear(int val)
This method sets the year.
|
public int getDay()
public Calendar.ExcludedDay setDay(int val)
val
- The daypublic int getMonth()
public Calendar.ExcludedDay setMonth(int val)
val
- The monthpublic int getYear()
public Calendar.ExcludedDay setYear(int val)
val
- The yearpublic String getReason()
public Calendar.ExcludedDay setReason(String val)
val
- The reasonprotected boolean isExcluded(Calendar cal)
cal
- The calendarCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.