public final class DateParser
extends Object
Parses the Date
-
Method Summary
| Modifier and Type |
Method |
Description |
static Date |
parse(String v) |
Parses the value and returns Date
|
static String |
print(Date v) |
Gets a text value of the date
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
parse
Parses the value and returns Date
- Parameters:
v - String to parse in the format "yyyy-MM-dd'T'HH:mm:ss"
- Returns:
Date
-
print
Gets a text value of the date
- Parameters:
v - Date
- Returns:
String in the format "yyyy-MM-dd'T'HH:mm:ss"