Uses of Class
org.exolab.castor.types.Duration
Packages that use Duration
Package
Description
The Castor implementation of specific XML Schema Types
-
Uses of Duration in org.exolab.castor.types
Methods in org.exolab.castor.types that return DurationModifier and TypeMethodDescriptionstatic Duration
Duration.parseDuration
(String str) Parse the given string and return a time duration which represents this string.Methods in org.exolab.castor.types with parameters of type DurationModifier and TypeMethodDescriptionvoid
DateTimeBase.addDuration
(Duration duration) Adds a Duration to this Date/Time type as defined in Adding Duration to dateTimes (W3C XML Schema, part 2 appendix E). This version uses the algorithm defined in the document from W3C.boolean
Returns true if the instance of TimeDuration has the same fields of the parameterboolean
Returns true if the present instance of TimeDuration is greater than the parameter -
Uses of Duration in org.exolab.castor.xml.validators
Methods in org.exolab.castor.xml.validators that return DurationModifier and TypeMethodDescriptionDurationValidator.getFixed()
Returns the configured fixed value for Duration validation.DurationValidator.getMaxExclusive()
Returns the configured exclusive maximum value for Duration validation.DurationValidator.getMaxInclusive()
Returns the configured inclusive maximum value for Duration validation.DurationValidator.getMinExclusive()
Returns the configured exclusive minimum value for Duration validation.DurationValidator.getMinInclusive()
Returns the configured inclusive minimum value for Duration validation.Methods in org.exolab.castor.xml.validators with parameters of type DurationModifier and TypeMethodDescriptionvoid
Sets the fixed value for Duration validation.void
DurationValidator.setMaxExclusive
(Duration maxValue) Sets the maximum (exclusive) value for Duration validation.void
DurationValidator.setMaxInclusive
(Duration maxValue) Sets the maximum (inclusive) value for Duration validation.void
DurationValidator.setMinExclusive
(Duration minValue) Sets the minimum (exclusive) value for Duration validation.void
DurationValidator.setMinInclusive
(Duration minValue) Sets the minimum (inclusive) value for Duration validation.void
Validate a duration instance.void
DurationValidator.validate
(Duration duration, ValidationContext context) Validates a duration instance.