@Immutable public final class TimeInstant extends Object implements Comparable<TimeInstant>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TimeInstant that) |
boolean |
equals(Object that) |
int |
hashCode() |
boolean |
isAfter(TimeInstant that) |
boolean |
isBefore(TimeInstant that) |
static TimeInstant |
of(long instant) |
String |
toString() |
TimeUnit |
unit() |
long |
value() |
public static TimeInstant of(long instant)
public long value()
public TimeUnit unit()
public boolean isBefore(TimeInstant that)
public boolean isAfter(TimeInstant that)
public int compareTo(TimeInstant that)
public boolean equals(Object that)
public int hashCode()
public String toString()
Copyright © 2016 The Immutables.org authors. All rights reserved.