Class Horde_Date_Parser_Locale_Pt_Repeater
- Horde_Date_Parser_Locale_Base_Repeater
- Horde_Date_Parser_Locale_Pt_Repeater
Located at Horde/Date/Parser/Locale/Pt/Repeater.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
public
array
|
$monthNameScanner
|
#
array(
'/^jan(eiro)?$/' => 'january',
'/^fev(ereiro)?$/' => 'february',
'/^mar(co)?$/' => 'march',
'/^abr(il)?$/' => 'april',
'/^mai(o)?$/' => 'may',
'/^jun(ho)?$/' => 'june',
'/^jul(ho)?$/' => 'july',
'/^ago(sto)?$/' => 'august',
'/^set(embro)?$/' => 'september',
'/^out(ubro)?$/' => 'october',
'/^nov(embro)?$/' => 'november',
'/^dez(embro)?$/' => 'december',
)
|
public
array
|
$dayNameScanner
|
#
array(
'/^seg$/' => 'monday',
'/^ter$/' => 'tuesday',
'/^qua$/' => 'wednesday',
'/^qui$/' => 'thursday',
'/^sex$/' => 'friday',
'/^sab$/' => 'saturday',
'/^dom$/' => 'sunday',
'/^segunda$/' => 'monday',
'/^terca$/' => 'tuesday',
'/^quarta$/' => 'wednesday',
'/^quinta$/' => 'thursday',
'/^sexta$/' => 'friday',
'/^sab(ado)?$/' => 'saturday',
'/^dom(ingo)?$/' => 'sunday',
)
|
public
array
|
$dayPortionScanner
|
#
array(
'/^(\d*)\s?ams?$/' => 'am',
'/^(\d*)\s?pms?$/' => 'pm',
'/^(?:de|na|a|durante\s+a) (manh[aĆ£]|madrugada)$/' => 'morning',
'/^(?:de|na|a|durante\s+a) tarde$/' => 'afternoon',
'/^((fim\s(d[ea]\s)tarde)|anoitecer)$/' => 'evening',
'/^noite$/' => 'night',
'/^ams?$/' => 'am',
'/^pms?$/' => 'pm',
'/^mornings?$/' => 'morning',
'/^afternoons?$/' => 'afternoon',
'/^evenings?$/' => 'evening',
'/^(night|nite)s?$/' => 'night',
//'/^horas?$/' => 'hour', // hour: add Repeater dayPortion (JPC)
)
|
public
array
|
$unitScanner
|
#
array(
'/^anos?$/' => 'year',
'/^(estacao|epoca)$/' => 'season',
'/^mes$/' => 'month',
'/^quinzena$/' => 'fortnight',
'/^semanas?$/' => 'week',
'/^(fds|fim( |( |\-)de( |\-))semana)?$/' => 'weekend',
'/^dias?$/' => 'day',
'/^horas?$/' => 'hour',
'/^minutos?$/' => 'minute',
'/^segundos?$/' => 'second',
'/^years?$/' => 'year',
'/^seasons?$/' => 'season',
'/^months?$/' => 'month',
'/^fortnights?$/' => 'fortnight',
'/^weeks?$/' => 'week',
'/^weekends?$/' => 'weekend',
'/^days?$/' => 'day',
'/^hours?$/' => 'hour',
'/^minutes?$/' => 'minute',
'/^seconds?$/' => 'second',
)
|
public
string
|
$timeRegex
|
#
'/^\d{1,2}(:?\d{2})?([\.:]?\d{2})?$/'
|