public final class FormattedTime extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
format(Date date)
Converts a Date into a formatted string.
|
static Date |
parse(String s)
Parses a formatted time string into a Date.
|
public static String format(Date date)
date - The Date to convert.public static Date parse(String s) throws TextParseException
s - The string, in the form YYYYMMDDHHMMSS.TextParseExcetption - The string was invalid.TextParseExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.