Revision 10124
trunk/libraries/libUI/src/org/gvsig/gui/beans/textBoxWithCalendar/JCalendarDateDialog.java | ||
---|---|---|
370 | 370 |
jCalendar.setDate(date); |
371 | 371 |
} |
372 | 372 |
|
373 |
/** |
|
374 |
* Returns the date formatted |
|
375 |
* |
|
376 |
* @param Date |
|
377 |
* @return String The formatted date |
|
378 |
*/ |
|
379 |
private String getFormattedDate(Date d) { |
|
380 |
return new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()).format(d); |
|
381 |
} |
|
373 |
// /**
|
|
374 |
// * Returns the date formatted
|
|
375 |
// *
|
|
376 |
// * @param Date
|
|
377 |
// * @return String The formatted date
|
|
378 |
// */
|
|
379 |
// private String getFormattedDate(Date d) {
|
|
380 |
// return new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()).format(d);
|
|
381 |
// }
|
|
382 | 382 |
|
383 | 383 |
/* |
384 | 384 |
* (non-Javadoc) |
Also available in: Unified diff