| Modifier and Type | Field and Description |
|---|---|
| private @Nullable Calendar | calendar
The optional calendar for this time. |
| private static final long | serialVersionUID
The serial version UID.
|
| Access | Constructor and Description |
|---|---|
| public | PGTime(long
milliseconds since January 1, 1970, 00:00:00 GMT; a negative number is milliseconds
before January 1, 1970, 00:00:00 GMT. time)Constructs a |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public boolean | equals(@Nullable Object
the object to compare with. o)Overrides java. Compares two dates for equality. |
| public @Nullable Calendar | |
| public int | |
| public void | setCalendar(@Nullable Calendar
the calendar object or calendar)null.Sets the calendar object for this time. |
| calendar | back to summary |
|---|---|
| private @Nullable Calendar calendar The optional calendar for this time. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. The serial version UID. | |
| PGTime | back to summary |
|---|---|
| public PGTime(long time) Constructs a
| |
| PGTime | back to summary |
|---|---|
| public PGTime(long time, @Nullable Calendar calendar) Constructs a
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Return a copy of this object.
| |
| equals | back to summary |
|---|---|
| public boolean equals(@Nullable Object o) Overrides java. Doc from java. Compares two dates for equality.
The result is
Thus, two | |
| getCalendar | back to summary |
|---|---|
| public @Nullable Calendar getCalendar() Returns the calendar object for this time. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. The result is the
exclusive OR of the two halves of the primitive
| |
| setCalendar | back to summary |
|---|---|
| public void setCalendar(@Nullable Calendar calendar) Sets the calendar object for this time. | |