
| Modifier and Type | Class and Description |
|---|---|
static class |
OLuceneDateTools.Resolution
Specifies the time granularity.
|
| Modifier and Type | Method and Description |
|---|---|
static Date |
stringToDate(String dateString)
Converts a string produced by
timeToString or dateToString back to a
time, represented as a Date object. |
static long |
stringToTime(String dateString)
Converts a string produced by
timeToString or dateToString back to a
time, represented as the number of milliseconds since January 1, 1970, 00:00:00 GMT. |
public static long stringToTime(String dateString) throws ParseException
timeToString or dateToString back to a
time, represented as the number of milliseconds since January 1, 1970, 00:00:00 GMT.dateString - the date string to be convertedParseException - if dateString is not in the expected formatpublic static Date stringToDate(String dateString) throws ParseException
timeToString or dateToString back to a
time, represented as a Date object.dateString - the date string to be convertedParseException - if dateString is not in the expected formatCopyright © 2009–2025 OrientDB. All rights reserved.