KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > datetime > names > GermanNames


1 package jodd.datetime.names;
2
3 /**
4  * German names for JDateTime.
5  */

6 public final class GermanNames implements jodd.datetime.JdtNames {
7
8     private final String[] month = { "Januar", "Februar", "Mrz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember" };
9     public String[] getMonths() {
10         return month;
11     }
12
13     private final String[] month_s = { "Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez" };
14     public String[] getShortMonths() {
15         return month_s;
16     }
17
18     private final String[] weekday = { "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"};
19     public String[] getDaysOfWeek() {
20         return weekday;
21     }
22
23     private final String[] weekday_s = { "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son" };
24     public String[] getShortDaysOfWeek() {
25         return weekday_s;
26     }
27
28 }
29
Popular Tags