89 lines
2.9 KiB
Java
89 lines
2.9 KiB
Java
|
package o;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class gtM {
|
||
|
static final gtQ<AbstractC15502gsH> ZONE_ID = new gtQ<AbstractC15502gsH>() { // from class: o.gtM.4
|
||
|
@Override // o.gtQ
|
||
|
public final AbstractC15502gsH queryFrom(gtK gtk) {
|
||
|
return (AbstractC15502gsH) gtk.query(this);
|
||
|
}
|
||
|
};
|
||
|
static final gtQ<gsR> CHRONO = new gtQ<gsR>() { // from class: o.gtM.2
|
||
|
@Override // o.gtQ
|
||
|
public final gsR queryFrom(gtK gtk) {
|
||
|
return (gsR) gtk.query(this);
|
||
|
}
|
||
|
};
|
||
|
static final gtQ<InterfaceC15539gtV> PRECISION = new gtQ<InterfaceC15539gtV>() { // from class: o.gtM.5
|
||
|
@Override // o.gtQ
|
||
|
public final InterfaceC15539gtV queryFrom(gtK gtk) {
|
||
|
return (InterfaceC15539gtV) gtk.query(this);
|
||
|
}
|
||
|
};
|
||
|
static final gtQ<AbstractC15502gsH> ZONE = new gtQ<AbstractC15502gsH>() { // from class: o.gtM.1
|
||
|
@Override // o.gtQ
|
||
|
public final AbstractC15502gsH queryFrom(gtK gtk) {
|
||
|
AbstractC15502gsH abstractC15502gsH = (AbstractC15502gsH) gtk.query(gtM.ZONE_ID);
|
||
|
return abstractC15502gsH != null ? abstractC15502gsH : (AbstractC15502gsH) gtk.query(gtM.OFFSET);
|
||
|
}
|
||
|
};
|
||
|
static final gtQ<gsI> OFFSET = new gtQ<gsI>() { // from class: o.gtM.3
|
||
|
@Override // o.gtQ
|
||
|
public final gsI queryFrom(gtK gtk) {
|
||
|
if (gtk.isSupported(EnumC15534gtD.OFFSET_SECONDS)) {
|
||
|
return gsI.ofTotalSeconds(gtk.get(EnumC15534gtD.OFFSET_SECONDS));
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
};
|
||
|
static final gtQ<C15520gsp> LOCAL_DATE = new gtQ<C15520gsp>() { // from class: o.gtM.6
|
||
|
@Override // o.gtQ
|
||
|
public final C15520gsp queryFrom(gtK gtk) {
|
||
|
if (gtk.isSupported(EnumC15534gtD.EPOCH_DAY)) {
|
||
|
return C15520gsp.ofEpochDay(gtk.getLong(EnumC15534gtD.EPOCH_DAY));
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
};
|
||
|
static final gtQ<C15521gsq> LOCAL_TIME = new gtQ<C15521gsq>() { // from class: o.gtM.8
|
||
|
@Override // o.gtQ
|
||
|
public final C15521gsq queryFrom(gtK gtk) {
|
||
|
if (gtk.isSupported(EnumC15534gtD.NANO_OF_DAY)) {
|
||
|
return C15521gsq.ofNanoOfDay(gtk.getLong(EnumC15534gtD.NANO_OF_DAY));
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
private gtM() {
|
||
|
}
|
||
|
|
||
|
public static final gtQ<AbstractC15502gsH> zoneId() {
|
||
|
return ZONE_ID;
|
||
|
}
|
||
|
|
||
|
public static final gtQ<AbstractC15502gsH> zone() {
|
||
|
return ZONE;
|
||
|
}
|
||
|
|
||
|
public static final gtQ<InterfaceC15539gtV> precision() {
|
||
|
return PRECISION;
|
||
|
}
|
||
|
|
||
|
public static final gtQ<gsI> offset() {
|
||
|
return OFFSET;
|
||
|
}
|
||
|
|
||
|
public static final gtQ<C15521gsq> localTime() {
|
||
|
return LOCAL_TIME;
|
||
|
}
|
||
|
|
||
|
public static final gtQ<C15520gsp> localDate() {
|
||
|
return LOCAL_DATE;
|
||
|
}
|
||
|
|
||
|
public static final gtQ<gsR> chronology() {
|
||
|
return CHRONO;
|
||
|
}
|
||
|
}
|