org.exolab.castor.types

Class TimePeriod

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: 1.1.1.1 $

Author: Arnaud Blandin

See Also: RecurringDuration

Constructor Summary
TimePeriod()
TimePeriod(String duration)
returns a TimePeriod with the duration facet set up
Method Summary
voidsetFields(String str)
parse a string to set the fields of a TimePeriod
voidsetPeriod(TimeDuration period)

Constructor Detail

TimePeriod

public TimePeriod()

TimePeriod

public TimePeriod(String duration)
returns a TimePeriod with the duration facet set up

Parameters: duration the String value of the duration facet

Returns: a TimePeriod the duration facet set up

Method Detail

setFields

public void setFields(String str)
parse a string to set the fields of a TimePeriod

Parameters: str the string to parse

setPeriod

public void setPeriod(TimeDuration period)
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com