public static final class RelativeDate.ReferenceDate extends Date
RelativeDate.NOW
and RelativeDate.TODAY
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ReferenceDate(long timeInMillis)
Creates a new instance of
RelativeDate.ReferenceDate . |
Modifier and Type | Method and Description |
---|---|
void |
setDate(int date) |
void |
setHours(int hours) |
void |
setMinutes(int minutes) |
void |
setMonth(int month) |
void |
setSeconds(int seconds) |
void |
setTime(long time) |
void |
setYear(int year) |
after, before, clone, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, toGMTString, toInstant, toLocaleString, toString, UTC
private static final long serialVersionUID
ReferenceDate(long timeInMillis)
RelativeDate.ReferenceDate
.
Only used for our constants.timeInMillis
- the time in millisecondspublic void setMinutes(int minutes)
setMinutes
in class Date
public void setSeconds(int seconds)
setSeconds
in class Date
Copyright © 2022 fastnate.org. All rights reserved.