package o; import java.util.Date; import java.util.TimeZone; /* loaded from: classes6.dex */ final class gjY extends TimeZone { private final int c; private final String e; @Override // java.util.TimeZone public final boolean inDaylightTime(Date date) { return false; } @Override // java.util.TimeZone public final boolean useDaylightTime() { return false; } /* JADX INFO: Access modifiers changed from: package-private */ public gjY(boolean z, int i, int i2) { if (i >= 24) { StringBuilder sb = new StringBuilder(); sb.append(i); sb.append(" hours out of range"); throw new IllegalArgumentException(sb.toString()); } if (i2 >= 60) { StringBuilder sb2 = new StringBuilder(); sb2.append(i2); sb2.append(" minutes out of range"); throw new IllegalArgumentException(sb2.toString()); } int i3 = ((i * 60) + i2) * 60000; this.c = z ? -i3 : i3; StringBuilder sb3 = new StringBuilder(9); sb3.append("GMT"); sb3.append(z ? '-' : '+'); sb3.append((char) ((i / 10) + 48)); sb3.append((char) ((i % 10) + 48)); sb3.append(':'); sb3.append((char) ((i2 / 10) + 48)); sb3.append((char) ((i2 % 10) + 48)); this.e = sb3.toString(); } @Override // java.util.TimeZone public final void setRawOffset(int i) { throw new UnsupportedOperationException(); } public final String toString() { StringBuilder sb = new StringBuilder("[GmtTimeZone id=\""); sb.append(this.e); sb.append("\",offset="); sb.append(this.c); sb.append(']'); return sb.toString(); } public final boolean equals(Object obj) { return (obj instanceof gjY) && this.e == ((gjY) obj).e; } public final int hashCode() { return this.c; } @Override // java.util.TimeZone public final int getRawOffset() { return this.c; } @Override // java.util.TimeZone public final int getOffset(int i, int i2, int i3, int i4, int i5, int i6) { return this.c; } @Override // java.util.TimeZone public final String getID() { return this.e; } }