Class DayMonthNameYearStringParser

Description

This StringParser can handle dates that contain an integer day followed by a textual month-name or month-abbreviation followed by an integer year.

Delimiters are ignored. Examples:

  • 5 April 1982
  • 5-APR-82
  • 5APR82
  • 5APRIL1982

Located in /harmoni/core/Primitives/Chronology/StringParser/DayMonthNameYearStringParser.class.php (line 39)

SObject
   |
   --StringParser
      |
      --RegexStringParser
         |
         --TwoDigitYearStringParser
            |
            --DayMonthNameYearStringParser
Method Summary
string getRegex ()
void parse ()
Variables
Methods
getRegex (line 53)

Return the regular expression used by this parser

  • since: 5/24/05
  • access: protected
string getRegex ()

Redefinition of:
RegexStringParser::getRegex()
Return the regular expression used by this parser
parse (line 66)

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.

  • since: 5/23/05
  • access: private
void parse ()

Redefinition of:
StringParser::parse()
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.

Inherited Methods

Inherited From TwoDigitYearStringParser

TwoDigitYearStringParser::setYear()

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:22:37 -0400 by phpDocumentor 1.3.0RC3