Class MutableDateFormat
java.lang.Object
com.inductiveautomation.factorypmi.application.components.util.MutableDateFormat
- All Implemented Interfaces:
LocaleListener
A simple wrapper around a SimpleDateFormat that simplifies the interface for altering and retrieving the format.
-
Field Summary
Fields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListener
LOCAL_CHANGE_EVENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal String
void
localeChanged
(Locale newLocale) void
setFormatText
(String formatText)
-
Constructor Details
-
MutableDateFormat
public MutableDateFormat() -
MutableDateFormat
-
-
Method Details
-
getFormatText
-
setFormatText
- Throws:
IllegalArgumentException
-
get_format
-
format
-
parse
- Throws:
ParseException
-
localeChanged
- Specified by:
localeChanged
in interfaceLocaleListener
-