|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.types.RecurringDurationBase
org.exolab.castor.types.RecurringDuration
org.exolab.castor.types.TimePeriod
Describe an XML schema TimePeriod.
The time period type is derived from recurringDuration by setting up the facet:
RecurringDuration,
Serialized Form| Constructor Summary | |
TimePeriod()
|
|
TimePeriod(java.lang.String duration)
returns a TimePeriod with the duration facet set up |
|
| Method Summary | |
void |
setFields(java.lang.String str)
parse a string to set the fields of a TimePeriod |
void |
setPeriod(TimeDuration period)
set the period facet for this recurringDuration |
| Methods inherited from class org.exolab.castor.types.RecurringDuration |
equal, equals, getCentury, getDay, getMonth, getValues, getYear, isGreater, isLeap, parse, parseRecurringDuration, setCentury, setDay, setMonth, setValues, setYear, toDate, toString |
| Methods inherited from class org.exolab.castor.types.RecurringDurationBase |
equal, getDuration, getHour, getMilli, getMinute, getPeriod, getSeconds, getZoneHour, getZoneMinute, isGreater, isNegative, isUTC, isZoneNegative, setDuration, setDuration, setHour, setMinute, setNegative, setPeriod, setSecond, setUTC, setZone, setZoneNegative |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TimePeriod()
public TimePeriod(java.lang.String duration)
duration - the String value of the duration facet| Method Detail |
public void setFields(java.lang.String str)
throws java.text.ParseException
str - the string to parse
java.text.ParseException
public void setPeriod(TimeDuration period)
throws OperationNotSupportedException
RecurringDurationBase
setPeriod in class RecurringDurationBaseperiod - the period to set
OperationNotSupportedException - this exception is thrown when
changing the value of the period facet is not allowed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||