2021-08-20 02:22:46 +00:00
|
|
|
package com.discord.widgets.guildscheduledevent;
|
|
|
|
|
|
|
|
import c.d.b.a.a;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/* compiled from: GuildScheduledEventPickerDateTime.kt */
|
|
|
|
public final class GuildScheduledEventPickerTime implements Serializable {
|
|
|
|
private final int hourOfDay;
|
|
|
|
private final int minute;
|
2021-09-22 06:37:51 +00:00
|
|
|
private final int second;
|
2021-08-20 02:22:46 +00:00
|
|
|
|
2021-09-22 06:37:51 +00:00
|
|
|
public GuildScheduledEventPickerTime(int i, int i2, int i3) {
|
2021-08-20 02:22:46 +00:00
|
|
|
this.hourOfDay = i;
|
|
|
|
this.minute = i2;
|
2021-09-22 06:37:51 +00:00
|
|
|
this.second = i3;
|
2021-08-20 02:22:46 +00:00
|
|
|
}
|
|
|
|
|
2021-09-22 06:37:51 +00:00
|
|
|
public static /* synthetic */ GuildScheduledEventPickerTime copy$default(GuildScheduledEventPickerTime guildScheduledEventPickerTime, int i, int i2, int i3, int i4, Object obj) {
|
|
|
|
if ((i4 & 1) != 0) {
|
2021-08-20 02:22:46 +00:00
|
|
|
i = guildScheduledEventPickerTime.hourOfDay;
|
|
|
|
}
|
2021-09-22 06:37:51 +00:00
|
|
|
if ((i4 & 2) != 0) {
|
2021-08-20 02:22:46 +00:00
|
|
|
i2 = guildScheduledEventPickerTime.minute;
|
|
|
|
}
|
2021-09-22 06:37:51 +00:00
|
|
|
if ((i4 & 4) != 0) {
|
|
|
|
i3 = guildScheduledEventPickerTime.second;
|
|
|
|
}
|
|
|
|
return guildScheduledEventPickerTime.copy(i, i2, i3);
|
2021-08-20 02:22:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public final int component1() {
|
|
|
|
return this.hourOfDay;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final int component2() {
|
|
|
|
return this.minute;
|
|
|
|
}
|
|
|
|
|
2021-09-22 06:37:51 +00:00
|
|
|
public final int component3() {
|
|
|
|
return this.second;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final GuildScheduledEventPickerTime copy(int i, int i2, int i3) {
|
|
|
|
return new GuildScheduledEventPickerTime(i, i2, i3);
|
2021-08-20 02:22:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // java.lang.Object
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
if (this == obj) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(obj instanceof GuildScheduledEventPickerTime)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
GuildScheduledEventPickerTime guildScheduledEventPickerTime = (GuildScheduledEventPickerTime) obj;
|
2021-09-22 06:37:51 +00:00
|
|
|
return this.hourOfDay == guildScheduledEventPickerTime.hourOfDay && this.minute == guildScheduledEventPickerTime.minute && this.second == guildScheduledEventPickerTime.second;
|
2021-08-20 02:22:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public final int getHourOfDay() {
|
|
|
|
return this.hourOfDay;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final int getMinute() {
|
|
|
|
return this.minute;
|
|
|
|
}
|
|
|
|
|
2021-09-22 06:37:51 +00:00
|
|
|
public final int getSecond() {
|
|
|
|
return this.second;
|
|
|
|
}
|
|
|
|
|
2021-08-20 02:22:46 +00:00
|
|
|
@Override // java.lang.Object
|
|
|
|
public int hashCode() {
|
2021-09-22 06:37:51 +00:00
|
|
|
return (((this.hourOfDay * 31) + this.minute) * 31) + this.second;
|
2021-08-20 02:22:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // java.lang.Object
|
|
|
|
public String toString() {
|
2021-10-09 06:29:02 +00:00
|
|
|
StringBuilder O = a.O("GuildScheduledEventPickerTime(hourOfDay=");
|
|
|
|
O.append(this.hourOfDay);
|
|
|
|
O.append(", minute=");
|
|
|
|
O.append(this.minute);
|
|
|
|
O.append(", second=");
|
|
|
|
return a.z(O, this.second, ")");
|
2021-08-20 02:22:46 +00:00
|
|
|
}
|
|
|
|
}
|