Package ej.util.text
Class ComputeShortFormatSymbols
- java.lang.Object
-
- java.text.DateFormatSymbols
-
- ej.util.text.ComputeShortFormatSymbols
-
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
EnglishDateFormatSymbols
public class ComputeShortFormatSymbols extends DateFormatSymbols
Symbols computing the short format from the full length ones.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComputeShortFormatSymbols()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetShortMonth(int i)Gets short month strings.String[]getShortMonths()Gets short month strings.StringgetShortWeekday(int i)Gets short weekday strings.String[]getShortWeekdays()Gets short weekday strings.-
Methods inherited from class java.text.DateFormatSymbols
getAmPmString, getAmPmStrings, getEra, getEras, getInstance, getMonth, getMonths, getWeekday, getWeekdays, setAmPmStrings, setEras, setMonths, setShortMonths, setShortWeekdays, setWeekdays
-
-
-
-
Method Detail
-
getShortMonth
public String getShortMonth(int i)
Description copied from class:DateFormatSymbolsGets short month strings. For example: "Jan", "Feb", etc.- Overrides:
getShortMonthin classDateFormatSymbols- Parameters:
i- the number of the month.- Returns:
- the short month strings.
-
getShortMonths
public String[] getShortMonths()
Description copied from class:DateFormatSymbolsGets short month strings. For example: "Jan", "Feb", etc.- Overrides:
getShortMonthsin classDateFormatSymbols- Returns:
- the short month strings.
-
getShortWeekday
public String getShortWeekday(int i)
Description copied from class:DateFormatSymbolsGets short weekday strings. For example: "Sun", "Mon", etc.- Overrides:
getShortWeekdayin classDateFormatSymbols- Parameters:
i- the number of the weekday.- Returns:
- the short weekday strings. Use
Calendar.SUNDAY,Calendar.MONDAY, etc. to index the result array.
-
getShortWeekdays
public String[] getShortWeekdays()
Description copied from class:DateFormatSymbolsGets short weekday strings. For example: "Sun", "Mon", etc.- Overrides:
getShortWeekdaysin classDateFormatSymbols- Returns:
- the short weekday strings. Use
Calendar.SUNDAY,Calendar.MONDAY, etc. to index the result array.
-
-