public final class YearMonthDurationValue extends DurationValue<YearMonthDurationValue>
StringParseableValue.Factory<AV extends AttributeValue>
SimpleValue.BaseFactory<AV extends AttributeValue>
value
Constructor and Description |
---|
YearMonthDurationValue(String value)
Instantiates year-month duration from string representation of xs:dayTimeDuration value.
|
compare, printXML
getXmlAttributes
equals, getContent, getUnderlyingValue, hashCode, toString
public YearMonthDurationValue(String value) throws IllegalArgumentException
value
- a string representing the desired durationIllegalArgumentException
- if value
is not a valid string representation of xs:dayTimeDurationCopyright © 2012–2020. All rights reserved.