org.exolab.castor.types
Class TimePeriod
- java.io.Serializable
Describe an XML schema TimePeriod.
The time period type is derived from recurringDuration by setting up the facet:
equal, equals, getCentury, getDay, getMonth, getValues, getYear, isGreater, isLeap, parse, parseRecurringDuration, setCentury, setDay, setMonth, setValues, setYear, toDate, toString |
equal, equals, getDuration, getHour, getMilli, getMinute, getPeriod, getSeconds, getValues, getZoneHour, getZoneMinute, isGreater, isNegative, isUTC, isZoneNegative, setDuration, setDuration, setHour, setMinute, setNegative, setPeriod, setPeriod, setSecond, setUTC, setValues, setZone, setZoneNegative |
TimePeriod
public TimePeriod()
TimePeriod
public TimePeriod(String duration)
returns a TimePeriod with the duration facet set up
duration - the String value of the duration facet
setFields
public void setFields(String str)
throws ParseException parse a string to set the fields of a TimePeriod
str - the string to parse
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com