Horde_Date_Parser_Locale_Pt_Scalar
extends Horde_Date_Parser_Locale_Base_Scalar
in package
Tags
Table of Contents
- $dayRegex : mixed
- $monthRegex : mixed
- $scalarRegex : mixed
- $timeSignifiers : mixed
- $yearRegex : mixed
- scan() : mixed
- scanForDays() : mixed
- scanForMonths() : mixed
- scanForScalars() : mixed
- scanForYears() : mixed
Properties
$dayRegex
public
mixed
$dayRegex
= '/^\\d\\d?$/'
$monthRegex
public
mixed
$monthRegex
= '/^\\d\\d?$/'
$scalarRegex
public
mixed
$scalarRegex
= '/^\\d*$/'
$timeSignifiers
public
mixed
$timeSignifiers
= array('am', 'pm', 'morning', 'afternoon', 'evening', 'night')
$yearRegex
public
mixed
$yearRegex
= '/^([1-9]\\d)?\\d\\d?$/'
Methods
scan()
public
scan(mixed $tokens) : mixed
Parameters
- $tokens : mixed
Return values
mixed —scanForDays()
public
scanForDays(mixed $token, mixed $postToken) : mixed
Parameters
- $token : mixed
- $postToken : mixed
Return values
mixed —scanForMonths()
public
scanForMonths(mixed $token, mixed $postToken) : mixed
Parameters
- $token : mixed
- $postToken : mixed
Return values
mixed —scanForScalars()
public
scanForScalars(mixed $token, mixed $postToken) : mixed
Parameters
- $token : mixed
- $postToken : mixed
Return values
mixed —scanForYears()
public
scanForYears(mixed $token, mixed $postToken) : mixed
Parameters
- $token : mixed
- $postToken : mixed