Horde_Date_Parser_Locale_De_Repeater
extends Horde_Date_Parser_Locale_Base_Repeater
in package
Tags
Table of Contents
- $dayNameScanner : mixed
- $dayPortionScanner : mixed
- $monthNameScanner : mixed
- $timeRegex : mixed
- $unitScanner : mixed
- scan() : mixed
- scanForDayNames() : mixed
- scanForDayPortions() : mixed
- scanForMonthNames() : mixed
- scanForTimes() : mixed
- scanForUnits() : mixed
Properties
$dayNameScanner
public
mixed
$dayNameScanner
= array('/^mo(n(d?tag)?)?$/' => 'monday', '/^di(e(nst?tag)?)?$/' => 'tuesday', '/^mi(t(t?woch)?)?$/' => 'wednesday', '/^do(n(n?erstag)?)?$/' => 'thursday', '/^fr(e(itag)?)?$/' => 'friday', '/^sa(m(stag)?)?$/' => 'saturday', '/^so(n(ntag)?)?$/' => 'sunday')
$dayPortionScanner
public
mixed
$dayPortionScanner
= array('/^vormittags?$/' => 'morning', '/^(morgens?|früh)$/' => 'morning', '/^nachmittags?$/' => 'afternoon', '/^abends?$/' => 'evening', '/^nachts?$/' => 'night', '/^n8s?$/' => 'night')
$monthNameScanner
public
mixed
$monthNameScanner
= array('/^jan\\.?(uar)?$/' => 'january', '/^feb\\.?(ruar)?$/' => 'february', '/^mär\\.?(z)?$/' => 'march', '/^apr\\.?(il)?$/' => 'april', '/^mai$/' => 'may', '/^jun\\.?i?$/' => 'june', '/^jul\\.?i?$/' => 'july', '/^aug\\.?(ust)?$/' => 'august', '/^sep\\.?(t\\.?|tember)?$/' => 'september', '/^okt\\.?(ober)?$/' => 'october', '/^nov\\.?(ember)?$/' => 'november', '/^dez\\.?(ember)?$/' => 'december')
$timeRegex
public
mixed
$timeRegex
= '/^\\d{1,2}(:?\\d{2})?([\\.:]?\\d{2})?$/'
$unitScanner
public
mixed
$unitScanner
= array(
'/^jahre?$/' => 'year',
//'/^seasons?$/' => 'season', ???
'/^monate?$/' => 'month',
//'/^fortnights?$/' => 'fortnight', ??
'/^wochen?$/' => 'week',
'/^wochenenden?$/' => 'weekend',
'/^tage?$/' => 'day',
'/^stunden?$/' => 'hour',
'/^minuten?$/' => 'minute',
'/^sekunden?$/' => 'second',
)
Methods
scan()
public
scan(mixed $tokens, mixed $options) : mixed
Parameters
- $tokens : mixed
- $options : mixed
Return values
mixed —scanForDayNames()
public
scanForDayNames(mixed $token) : mixed
Parameters
- $token : mixed
Return values
mixed —scanForDayPortions()
public
scanForDayPortions(mixed $token) : mixed
Parameters
- $token : mixed
Return values
mixed —scanForMonthNames()
public
scanForMonthNames(mixed $token) : mixed
Parameters
- $token : mixed
Return values
mixed —scanForTimes()
public
scanForTimes(mixed $token, mixed $options) : mixed
Parameters
- $token : mixed
- $options : mixed
Return values
mixed —scanForUnits()
public
scanForUnits(mixed $token) : mixed
Parameters
- $token : mixed