| java.lang.Object org.xbill.DNS.FormattedTime
FormattedTime | final class FormattedTime (Code) | | |
Method Summary | |
public static String | format(Date date) Converts a Date into a formatted string.
Parameters: date - The Date to convert. | public static Date | parse(String s) Parses a formatted time string into a Date.
Parameters: s - The string, in the form YYYYMMDDHHMMSS. |
format | public static String format(Date date)(Code) | | Converts a Date into a formatted string.
Parameters: date - The Date to convert. The formatted string. |
parse | public static Date parse(String s) throws TextParseException(Code) | | Parses a formatted time string into a Date.
Parameters: s - The string, in the form YYYYMMDDHHMMSS. The Date object. throws: TextParseExcetption - The string was invalid. |
|
|