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