public class UtcOffset
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UtcOffset(long offset) |
UtcOffset(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object arg0) |
long |
getOffset() |
int |
hashCode() |
java.lang.String |
toString() |
public UtcOffset(java.lang.String value)
value
- a string representation of an offsetpublic UtcOffset(long offset)
offset
- an offset value in millisecondspublic final java.lang.String toString()
toString
in class java.lang.Object
public final long getOffset()
public final boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object