implement a few classpath methods required by SWT for Mac OS X

This commit is contained in:
Eric Scharff
2007-10-29 15:23:13 -06:00
parent bcd2c75f41
commit c97b16b8bc
2 changed files with 19 additions and 0 deletions

View File

@ -2,6 +2,11 @@ package java.text;
public class DateFormatSymbols {
private String[] ampm = new String[] { "AM", "PM" };
private String[] shortWeekdays = new String[] { "Sun", "Mon", "Tue",
"Wed", "Thu", "Fri", "Sat" };
private String[] shortMonths = new String[] { "Jan", "Feb", "Mar", "Apr",
"May", "Jun", "Jul", "Aug",
"Sep", "Oct", "Nov", "Dec" };
public String[] getAmPmStrings() {
return ampm;
@ -10,4 +15,12 @@ public class DateFormatSymbols {
public void setAmPmStrings(String[] v) {
ampm = v;
}
public String[] getShortWeekdays() {
return shortWeekdays;
}
public String[] getShortMonths() {
return shortMonths;
}
}