<<< GregorianCalendar formatting example | Index | Date usage example >>> |
Code that overrides the default date and time formats:
DateFormat shortDate = DateFormat.getDateInstance( DateFormat.SHORT ); DateFormat shortTime = DateFormat.getTimeInstance( DateFormat.SHORT ); DateFormat shortDateTime = DateFormat.getDateTimeInstance( DateFormat.SHORT, DateFormat.SHORT );
<<< GregorianCalendar formatting example | Index | Date usage example >>> |