public class InternalTimestamp extends InternalDate
day, month, year
Constructor and Description |
---|
InternalTimestamp()
Constructs a zero datetime
|
InternalTimestamp(int year,
int month,
int day,
int hours,
int minutes,
int seconds,
int nanos,
int scale) |
Modifier and Type | Method and Description |
---|---|
int |
getHours() |
int |
getMinutes() |
int |
getNanos() |
int |
getScale() |
int |
getSeconds() |
boolean |
isZero() |
void |
setHours(int hours) |
void |
setMinutes(int minutes) |
void |
setNanos(int nanos) |
void |
setScale(int scale) |
void |
setSeconds(int seconds) |
public InternalTimestamp()
public InternalTimestamp(int year, int month, int day, int hours, int minutes, int seconds, int nanos, int scale)
public int getHours()
public void setHours(int hours)
public int getMinutes()
public void setMinutes(int minutes)
public int getSeconds()
public void setSeconds(int seconds)
public int getNanos()
public void setNanos(int nanos)
public boolean isZero()
isZero
in class InternalDate
public int getScale()
public void setScale(int scale)