Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public final class UnmodifiableTimestamp extends Timestamp
| Constructor and Description |
|---|
UnmodifiableTimestamp(int year,
int month,
int date,
int hour,
int minute,
int second,
int nano)
Deprecated.
instead use the constructor
Timestamp(long millis) |
UnmodifiableTimestamp(long time) |
UnmodifiableTimestamp(long time,
int nanos) |
| Modifier and Type | Method and Description |
|---|---|
void |
setDate(int month)
Deprecated.
As of JDK version 1.1,
|
void |
setHours(int month)
Deprecated.
As of JDK version 1.1,
|
void |
setMinutes(int month)
Deprecated.
As of JDK version 1.1,
|
void |
setMonth(int month)
Deprecated.
As of JDK version 1.1,
|
void |
setNanos(int n) |
void |
setSeconds(int month)
Deprecated.
As of JDK version 1.1,
|
void |
setTime(long time) |
void |
setYear(int year)
Deprecated.
As of JDK version 1.1,
|
static UnmodifiableTimestamp |
valueOf(Timestamp other)
Creates a new UnmodifiableTimestamp from a Timestamp.
|
after, before, compareTo, compareTo, equals, equals, from, getNanos, getTime, hashCode, toInstant, toLocalDateTime, toString, valueOf, valueOfafter, before, clone, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTimezoneOffset, getYear, parse, toGMTString, toLocaleString, UTCpublic UnmodifiableTimestamp(long time,
int nanos)
public UnmodifiableTimestamp(long time)
@Deprecated public UnmodifiableTimestamp(int year, int month, int date, int hour, int minute, int second, int nano)
Timestamp(long millis)public static UnmodifiableTimestamp valueOf(Timestamp other)
@Deprecated public void setYear(int year)
@Deprecated public void setMonth(int month)
@Deprecated public void setDate(int month)
@Deprecated public void setHours(int month)
@Deprecated public void setMinutes(int month)
setMinutes in class Date@Deprecated public void setSeconds(int month)
setSeconds in class DateCopyright © 2000–2016 AO Industries, Inc.. All rights reserved.