public class MustTimestamp
extends java.sql.Timestamp
Constructor and Description |
---|
MustTimestamp(int year,
int month,
int day,
int hour,
int minute,
int second)
Constructs a new MustTimestamp.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getJDBCEscapeFormat(int year,
int month,
int day,
int hour,
int minute,
int second)
Returns the JDBC escape Format of a time.
|
static java.lang.String |
getJDBCEscapeFormat(java.sql.Timestamp time)
Returns the JDBC escape Format of a time.
|
after, before, compareTo, compareTo, equals, equals, from, getNanos, getTime, hashCode, setNanos, setTime, toInstant, toLocalDateTime, toString, valueOf, valueOf
public MustTimestamp(int year, int month, int day, int hour, int minute, int second)
hour
- the hour of the timeminute
- the minute of the timesecond
- the second of the timepublic static java.lang.String getJDBCEscapeFormat(java.sql.Timestamp time)
hour
- the hour of the timeminute
- the minute of the timesecond
- the second of the timepublic static java.lang.String getJDBCEscapeFormat(int year, int month, int day, int hour, int minute, int second)
year
- the year of the datemonth
- the month of the date as written (1...12)day
- the day of the monthhour
- the hour of the timeminute
- the minute of the timesecond
- the second of the timeCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de