1: <?php
2: class Horde_Date_Parser_Locale_De_Repeater extends Horde_Date_Parser_Locale_Base_Repeater
3: {
4: public $monthNameScanner = array(
5: '/^jan\.?(uar)?$/' => 'january',
6: '/^feb\.?(ruar)?$/' => 'february',
7: '/^mär\.?(z)?$/' => 'march',
8: '/^apr\.?(il)?$/' => 'april',
9: '/^mai$/' => 'may',
10: '/^jun\.?i?$/' => 'june',
11: '/^jul\.?i?$/' => 'july',
12: '/^aug\.?(ust)?$/' => 'august',
13: '/^sep\.?(t\.?|tember)?$/' => 'september',
14: '/^okt\.?(ober)?$/' => 'october',
15: '/^nov\.?(ember)?$/' => 'november',
16: '/^dez\.?(ember)?$/' => 'december',
17: );
18:
19: public $dayNameScanner = array(
20: '/^mo(n(d?tag)?)?$/' => 'monday',
21: '/^di(e(nst?tag)?)?$/' => 'tuesday',
22: '/^mi(t(t?woch)?)?$/' => 'wednesday',
23: '/^do(n(n?erstag)?)?$/' => 'thursday',
24: '/^fr(e(itag)?)?$/' => 'friday',
25: '/^sa(m(stag)?)?$/' => 'saturday',
26: '/^so(n(ntag)?)?$/' => 'sunday',
27: );
28:
29: public $dayPortionScanner = array(
30: '/^vormittags?$/' => 'morning',
31: '/^(morgens?|früh)$/' => 'morning',
32: '/^nachmittags?$/' => 'afternoon',
33: '/^abends?$/' => 'evening',
34: '/^nachts?$/' => 'night',
35: '/^n8s?$/' => 'night',
36: );
37:
38: public $unitScanner = array(
39: '/^jahre?$/' => 'year',
40:
41: '/^monate?$/' => 'month',
42:
43: '/^wochen?$/' => 'week',
44: '/^wochenenden?$/' => 'weekend',
45: '/^tage?$/' => 'day',
46: '/^stunden?$/' => 'hour',
47: '/^minuten?$/' => 'minute',
48: '/^sekunden?$/' => 'second',
49: );
50:
51: }
52: