This StringParser parses durations formatted as per ANSI 5.8.2.16: [-]D:HH:MM:SS[.S]
Examples:
Located in /harmoni/core/Primitives/Chronology/StringParser/ANSI58216StringParser.class.php (line 47)
SObject | --StringParser | --RegexStringParser | --ANSI58216StringParser
Return the regular expression used by this parser
Parse the input string and set our elements based on the contents of the input string. Elements not found in the string will be null.
To allow for very large days, override setDay to not use intval(). and to just leave the days as a string for now.
Inherited From RegexStringParser
RegexStringParser::canHandle()
RegexStringParser::getRegex()
Inherited From StringParser
StringParser::StringParser()
StringParser::canHandle()
StringParser::day()
StringParser::getParserFor()
StringParser::hour()
StringParser::minute()
StringParser::month()
StringParser::offsetHour()
StringParser::offsetMinute()
StringParser::offsetSecond()
StringParser::parse()
StringParser::second()
StringParser::setDay()
StringParser::setHour()
StringParser::setMinute()
StringParser::setMonth()
StringParser::setOffsetHour()
StringParser::setOffsetMinute()
StringParser::setOffsetSecond()
StringParser::setSecond()
StringParser::setYear()
StringParser::year()
Inherited From SObject
SObject::asA()
SObject::asString()
SObject::copy()
SObject::copySameFrom()
SObject::copyTwoLevel()
SObject::deepCopy()
SObject::isEqual()
SObject::isEqualTo()
SObject::isNotEqualTo()
SObject::isNotReferenceTo()
SObject::isReferenceTo()
SObject::newFrom()
SObject::postCopy()
SObject::printableString()
SObject::shallowCopy()
SObject::_deepCopyArray()
Documentation generated on Wed, 19 Sep 2007 10:21:29 -0400 by phpDocumentor 1.3.0RC3