RecurringDay
Cloneable, Serializable
This class provides the Java biding for the XML schema type recurringDate as specified in Section 3.3.31 of XML Schema Part 2: Datatypes.
recurringDate represents a date that recurs, specifically a day of the year. Recurring day is a one-year long annually periodic instances.
The value space of month is the set of Gregorian calendar dates specified as --MM-DD.
Example: 05-11, May 11th, that occurs every
year.
Object
RecurringDay
RecurringDate
Cloneable, Serializable
Field Summary |
Fields from com.bea.p13n.xml.schema. |
|
Constructor Summary |
|
|
Method Summary |
public |
|
public static |
|
public static |
|
public int |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public |
|
Methods from com.bea.p13n.xml.schema. |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected RecurringDate()
protected RecurringDate(TimeInstant instant)
Method Detail |
public Object clone()
Returns a copy.
RecurringDay.clone()
public static RecurringDate createRecurringDate()
Returns a RecurringDate for the current month and
day.
public staticRecurringDatecreateRecurringDate(StringrecurringDate)
throwsParseException
Given a string of the form --MM-DD, returns a RecurringDate instance. The argument may optionally include the timezone specified as "Z" or as <+/->hh:mm.
It is invalid to prepend the argument string with a "+" or "-" (minus) symbol.
ParseException
public int getMonth()Returns the month (MM) field
public Date next()
Returns the next date based on the reference time instant.
RecurringDay.next()
Related Topics
RecurringDate.setReference(TimeInstant)
publicReturns the next date with repsect to the specified time instant.Datenext(TimeInstantinstant)
RecurringDay.next(TimeInstant)
public Date previous()
Returns the previous date based on the reference time instant.
RecurringDay.previous()
Related Topics
RecurringDate.setReference(TimeInstant)
publicReturns the previous date with repsect to the specified time instant.Dateprevious(TimeInstantinstant)
RecurringDay.previous(TimeInstant)
public void setMonth(int month)Sets the month (MM) field
public String toString()
Returns a string representation in the form of ---DD with the
time zone.
RecurringDay.toString()