Class MsFormatter
java.lang.Object
ca.phon.formatter.MsFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Format
Deprecated.Create a new formatter object.static long
displayStringToMs
(String msText) Deprecated.Parse the given string into a value in milliseconds.Deprecated.Convert the given object into a formatted String.static String
msToDisplayString
(long ms) Deprecated.Convert a value in milliseconds into a string.Deprecated.Parse the given string into a new object instance
-
Constructor Details
-
MsFormatter
public MsFormatter()Deprecated.
-
-
Method Details
-
createFormatter
Deprecated.Create a new formatter object.- Returns:
- formatter
-
msToDisplayString
Deprecated.Convert a value in milliseconds into a string.- Parameters:
ms
-- Returns:
- ms as a readable string
-
displayStringToMs
Deprecated.Parse the given string into a value in milliseconds.- Parameters:
msText
-- Returns:
- time in milliseconds
- Throws:
ParseException
-
format
-
parse
Deprecated.Description copied from interface:Formatter
Parse the given string into a new object instance- Specified by:
parse
in interfaceFormatter<Long>
- Parameters:
text
-- Returns:
- parsed object
- Throws:
ParseException
- if there was a problem parsing the given text
-