java.io.Serializable
public class TimePeriod extends RecurringDuration
The time period type is derived from recurringDuration by setting up the facet:
Note: This datatype is not included in any recommendation. It was introduced in http://www.w3.org/TR/2000/WD-xmlschema-2-20000407/ and was last in http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/ and was removed by http://www.w3.org/TR/2001/PR-xmlschema-2-20010316/. It was not in the final approved recommendation: http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/
RecurringDuration
,
Serialized FormConstructor | Description |
---|---|
TimePeriod() |
Deprecated.
|
TimePeriod(java.lang.String duration) |
Deprecated.
returns a TimePeriod with the duration facet set up
|
Modifier and Type | Method | Description |
---|---|---|
void |
setFields(java.lang.String str) |
Deprecated.
parse a string to set the fields of a TimePeriod
|
void |
setPeriod(TimeDuration period) |
Deprecated.
set the period facet for this recurringDuration
|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equal, equals, getCentury, getDay, getMonth, getValues, getYear, isGreater, isLeap, parse, parseRecurringDuration, setCentury, setDay, setMonth, setValues, setYear, toDate, toString
equal, getDuration, getHour, getMilli, getMinute, getPeriod, getSeconds, getZoneHour, getZoneMinute, isGreater, isNegative, isUTC, isZoneNegative, setDuration, setDuration, setHour, setMinute, setNegative, setPeriod, setSecond, setUTC, setZone, setZoneNegative
public TimePeriod()
public TimePeriod(java.lang.String duration)
duration
- the String value of the duration facetpublic void setFields(java.lang.String str) throws java.text.ParseException
str
- the string to parsejava.text.ParseException
public void setPeriod(TimeDuration period) throws java.lang.UnsupportedOperationException
RecurringDurationBase
setPeriod
in class RecurringDurationBase
period
- the period to setjava.lang.UnsupportedOperationException
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com