org.exolab.castor.types
public class TimePeriod extends RecurringDuration
Describe an XML schema TimePeriod.
The time period type is derived from recurringDuration by setting up the facet:
Version: $Revision: 5951 $
See Also: RecurringDuration
Constructor Summary | |
---|---|
TimePeriod() | |
TimePeriod(String duration)
returns a TimePeriod with the duration facet set up |
Method Summary | |
---|---|
void | setFields(String str)
parse a string to set the fields of a TimePeriod |
void | setPeriod(TimeDuration period) |
Parameters: duration the String value of the duration facet
Parameters: str the string to parse