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, toTimestamp
public 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 Instant
print
in class InstantBase
public PreciseInstant add(int field, int amount)
public PreciseInstant subtract(int field, int amount)
public int hashCode()
hashCode
in class InstantBase
public boolean equals(Object obj)
equals
in class InstantBase
Copyright © 2013–2017 impossibl.com. All rights reserved.