public final class ToDateParser extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static ValueTimestamp |
toDate(SessionLocal session,
String input,
String format)
Parse a string as a date with the given format.
|
String |
toString() |
static ValueTimestamp |
toTimestamp(SessionLocal session,
String input,
String format)
Parse a string as a timestamp with the given format.
|
static ValueTimestampTimeZone |
toTimestampTz(SessionLocal session,
String input,
String format)
Parse a string as a timestamp with the given format.
|
public static ValueTimestamp toTimestamp(SessionLocal session, String input, String format)
session - the database sessioninput - the inputformat - the formatpublic static ValueTimestampTimeZone toTimestampTz(SessionLocal session, String input, String format)
session - the database sessioninput - the inputformat - the formatpublic static ValueTimestamp toDate(SessionLocal session, String input, String format)
session - the database sessioninput - the inputformat - the formatCopyright © 2022. All rights reserved.