public class PreciseInstant extends InstantBase
Instant.Type| Constructor and Description |
|---|
PreciseInstant(Instant.Type type,
long micros,
TimeZone zone) |
| Modifier and Type | Method and Description |
|---|---|
PreciseInstant |
add(int field,
int amount) |
AmbiguousInstant |
ambiguate() |
PreciseInstant |
disambiguate(TimeZone zone) |
boolean |
equals(Object obj) |
long |
getMicrosLocal() |
long |
getMicrosUTC() |
long |
getMillisLocal() |
long |
getMillisUTC() |
TimeZone |
getZone() |
long |
getZoneOffsetMicros() |
long |
getZoneOffsetMillis() |
long |
getZoneOffsetSecs() |
int |
hashCode() |
String |
print(Context context) |
PreciseInstant |
subtract(int field,
int amount) |
PreciseInstant |
switchTo(TimeZone zone) |
getType, toDate, toString, toTime, toTimestamppublic PreciseInstant(Instant.Type type, long micros, TimeZone zone)
public TimeZone getZone()
public long getZoneOffsetSecs()
public long getZoneOffsetMicros()
public long getZoneOffsetMillis()
public long getMillisLocal()
public long getMicrosLocal()
public long getMillisUTC()
public long getMicrosUTC()
public PreciseInstant disambiguate(TimeZone zone)
public PreciseInstant switchTo(TimeZone zone)
public AmbiguousInstant ambiguate()
public String print(Context context)
print in interface Instantprint in class InstantBasepublic PreciseInstant add(int field, int amount)
public PreciseInstant subtract(int field, int amount)
public int hashCode()
hashCode in class InstantBasepublic boolean equals(Object obj)
equals in class InstantBaseCopyright © 2013–2017 impossibl.com. All rights reserved.