mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-13 17:37:16 +01:00
92 lines
4.4 KiB
Java
92 lines
4.4 KiB
Java
package androidx.compose.material3.internal;
|
|
|
|
import androidx.compose.runtime.Immutable;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.text.StringsKt__StringsJVMKt;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Immutable
|
|
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\f\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0081\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000e\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u0010\u001a\u00020\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u000b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\n¨\u0006\u0016"}, d2 = {"Landroidx/compose/material3/internal/DateInputFormat;", "", "patternWithDelimiters", "", "delimiter", "", "(Ljava/lang/String;C)V", "getDelimiter", "()C", "getPatternWithDelimiters", "()Ljava/lang/String;", "patternWithoutDelimiters", "getPatternWithoutDelimiters", "component1", "component2", "copy", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "material3_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final /* data */ class DateInputFormat {
|
|
public static final int $stable = 0;
|
|
private final char delimiter;
|
|
|
|
@NotNull
|
|
private final String patternWithDelimiters;
|
|
|
|
@NotNull
|
|
private final String patternWithoutDelimiters;
|
|
|
|
public DateInputFormat(@NotNull String str, char c) {
|
|
String replace$default;
|
|
this.patternWithDelimiters = str;
|
|
this.delimiter = c;
|
|
replace$default = StringsKt__StringsJVMKt.replace$default(str, String.valueOf(c), "", false, 4, (Object) null);
|
|
this.patternWithoutDelimiters = replace$default;
|
|
}
|
|
|
|
public static /* synthetic */ DateInputFormat copy$default(DateInputFormat dateInputFormat, String str, char c, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = dateInputFormat.patternWithDelimiters;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
c = dateInputFormat.delimiter;
|
|
}
|
|
return dateInputFormat.copy(str, c);
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: component1, reason: from getter */
|
|
public final String getPatternWithDelimiters() {
|
|
return this.patternWithDelimiters;
|
|
}
|
|
|
|
/* renamed from: component2, reason: from getter */
|
|
public final char getDelimiter() {
|
|
return this.delimiter;
|
|
}
|
|
|
|
@NotNull
|
|
public final DateInputFormat copy(@NotNull String patternWithDelimiters, char delimiter) {
|
|
return new DateInputFormat(patternWithDelimiters, delimiter);
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof DateInputFormat)) {
|
|
return false;
|
|
}
|
|
DateInputFormat dateInputFormat = (DateInputFormat) other;
|
|
return Intrinsics.areEqual(this.patternWithDelimiters, dateInputFormat.patternWithDelimiters) && this.delimiter == dateInputFormat.delimiter;
|
|
}
|
|
|
|
public final char getDelimiter() {
|
|
return this.delimiter;
|
|
}
|
|
|
|
@NotNull
|
|
public final String getPatternWithDelimiters() {
|
|
return this.patternWithDelimiters;
|
|
}
|
|
|
|
@NotNull
|
|
public final String getPatternWithoutDelimiters() {
|
|
return this.patternWithoutDelimiters;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Character.hashCode(this.delimiter) + (this.patternWithDelimiters.hashCode() * 31);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return "DateInputFormat(patternWithDelimiters=" + this.patternWithDelimiters + ", delimiter=" + this.delimiter + ')';
|
|
}
|
|
}
|