Modifier and Type | Method and Description |
---|---|
int |
compareTo(Instant other) |
static Instant |
create(long ms) |
boolean |
equals(java.lang.Object obj) |
long |
getMillis() |
int |
hashCode() |
static Instant |
today() |
java.lang.String |
toString() |
public static Instant create(long ms)
public static Instant today()
public final long getMillis()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object