|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.text.CustomDateFormat
public class CustomDateFormat
CustomDateFormat allows custom date formatting, according to the date format stored in the preferences.
| Method Summary | |
|---|---|
void |
configurationChanged(ConfigurationEvent event)
Listens to some configuration variables. |
static java.lang.String |
format(java.util.Date date)
Formats the given with custom date format and returns a formatted date string. |
static java.lang.String |
getDateFormatString()
Returns the date format stored in the preferences and used by this class to format dates. |
static void |
init()
Forces static fields to be initialized |
static java.lang.String |
replaceDateSeparator(java.lang.String dateFormatString,
java.lang.String separator)
Replace the default '/' separator in the given format string, by the given custom separator. |
static void |
updateDateFormat()
Forces CustomDateFormat to update the date format by looking it up in the preferences. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void init()
public static java.lang.String replaceDateSeparator(java.lang.String dateFormatString,
java.lang.String separator)
public static java.lang.String getDateFormatString()
java.text.SimpleDateFormat class.
public static void updateDateFormat()
public static java.lang.String format(java.util.Date date)
public void configurationChanged(ConfigurationEvent event)
configurationChanged in interface ConfigurationListenerevent - describes the configuration modification.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard