| 1 | ## | ||||||||||
| 2 | ## Austrian tables | ||||||||||
| 3 | ## | ||||||||||
| 4 | |||||||||||
| 5 | package Date::Language::Austrian; | ||||||||||
| 6 | |||||||||||
| 7 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 3 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 3 | ▶ | use Date::Language (); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | 3 | ▶ | use Date::Language::English (); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 13 | |||||||||||
| 14 | 3 | our $VERSION = '2.35'; # VERSION: generated | |||||||||
| 15 | # ABSTRACT: Austrian localization for Date::Format | ||||||||||
| 16 | |||||||||||
| 17 | 3 | ▶ | use base 'Date::Language'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 18 | |||||||||||
| 19 | 3 | our @MoY = qw(Jänner Feber März April Mai Juni | |||||||||
| 20 | Juli August September Oktober November Dezember); | ||||||||||
| 21 | 3 | our @MoYs = qw(Jän Feb Mär Apr Mai Jun Jul Aug Sep Oct Nov Dez); | |||||||||
| 22 | 3 | our @DoW = qw(Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag); | |||||||||
| 23 | 3 | our @DoWs = qw(So Mo Di Mi Do Fr Sa); | |||||||||
| 24 | |||||||||||
| 25 | |||||||||||
| 26 | 3 | our @AMPM = @{Date::Language::English::AMPM}; | |||||||||
| 27 | 3 | our @Dsuf = @{Date::Language::English::Dsuf}; | |||||||||
| 28 | |||||||||||
| 29 | 3 | our ( %MoY, %DoW ); | |||||||||
| 30 | 3 | Date::Language::_build_lookups(); | |||||||||
| 31 | |||||||||||
| 32 | # Timezone abbreviation translations (English → German, same as German locale) | ||||||||||
| 33 | 3 | our %TZ = ( | |||||||||
| 34 | 'CET' => 'MEZ', # Mitteleuropäische Zeit | ||||||||||
| 35 | 'CEST' => 'MESZ', # Mitteleuropäische Sommerzeit | ||||||||||
| 36 | 'WET' => 'WEZ', # Westeuropäische Zeit | ||||||||||
| 37 | 'WEST' => 'WESZ', # Westeuropäische Sommerzeit | ||||||||||
| 38 | 'EET' => 'OEZ', # Osteuropäische Zeit | ||||||||||
| 39 | 'EEST' => 'OESZ', # Osteuropäische Sommerzeit | ||||||||||
| 40 | ); | ||||||||||
| 41 | |||||||||||
| 42 | # Formatting routines | ||||||||||
| 43 | |||||||||||
| 44 | 3 | ▶ | sub format_a { $DoWs[$_[0]->[6]] } | ||||||||
|
Subroutine
format_a: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 45 | 2 | ▶ | sub format_A { $DoW[$_[0]->[6]] } | ||||||||
|
Subroutine
format_A: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 46 | 3 | ▶ | sub format_b { $MoYs[$_[0]->[4]] } | ||||||||
|
Subroutine
format_b: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 47 | 2 | ▶ | sub format_B { $MoY[$_[0]->[4]] } | ||||||||
|
Subroutine
format_B: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 48 | 0 | ▶ | sub format_h { $MoYs[$_[0]->[4]] } | ||||||||
|
Subroutine
format_h: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 49 | 0 | ▶ | sub format_p { $_[0]->[2] >= 12 ? $AMPM[1] : $AMPM[0] } | ||||||||
|
Subroutine
format_p: not called CC=2 SCAR=17.9
Pod
undocumented
Branch: 1 branch
| |||||||||||
| 50 | |||||||||||
| 51 | 3 | 1; | |||||||||
| 52 | |||||||||||
| 53 | __END__ | ||||||||||