equal
deleted
inserted
replaced
116 * if the resources for the default locale cannot be |
116 * if the resources for the default locale cannot be |
117 * found or cannot be loaded. |
117 * found or cannot be loaded. |
118 */ |
118 */ |
119 public DateFormatSymbols() |
119 public DateFormatSymbols() |
120 { |
120 { |
121 initializeData(Locale.getDefault()); |
121 initializeData(Locale.getDefault(Locale.Category.FORMAT)); |
122 } |
122 } |
123 |
123 |
124 /** |
124 /** |
125 * Construct a DateFormatSymbols object by loading format data from |
125 * Construct a DateFormatSymbols object by loading format data from |
126 * resources for the given locale. This constructor can only |
126 * resources for the given locale. This constructor can only |
280 * implementations. |
280 * implementations. |
281 * @return a <code>DateFormatSymbols</code> instance. |
281 * @return a <code>DateFormatSymbols</code> instance. |
282 * @since 1.6 |
282 * @since 1.6 |
283 */ |
283 */ |
284 public static final DateFormatSymbols getInstance() { |
284 public static final DateFormatSymbols getInstance() { |
285 return getInstance(Locale.getDefault()); |
285 return getInstance(Locale.getDefault(Locale.Category.FORMAT)); |
286 } |
286 } |
287 |
287 |
288 /** |
288 /** |
289 * Gets the <code>DateFormatSymbols</code> instance for the specified |
289 * Gets the <code>DateFormatSymbols</code> instance for the specified |
290 * locale. This method provides access to <code>DateFormatSymbols</code> |
290 * locale. This method provides access to <code>DateFormatSymbols</code> |