mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
60 lines
1.8 KiB
Java
60 lines
1.8 KiB
Java
|
package androidx.media3.container;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import androidx.media3.common.Metadata;
|
||
|
import com.google.common.primitives.Longs;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class CreationTime implements Metadata.Entry {
|
||
|
public static final Parcelable.Creator<CreationTime> CREATOR = new Parcelable.Creator<CreationTime>() { // from class: androidx.media3.container.CreationTime.1
|
||
|
/* JADX WARN: Can't rename method to resolve collision */
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public CreationTime createFromParcel(Parcel parcel) {
|
||
|
return new CreationTime(parcel);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Can't rename method to resolve collision */
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public CreationTime[] newArray(int i) {
|
||
|
return new CreationTime[i];
|
||
|
}
|
||
|
};
|
||
|
public final long timestampMs;
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public int describeContents() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public CreationTime(long j) {
|
||
|
this.timestampMs = j;
|
||
|
}
|
||
|
|
||
|
private CreationTime(Parcel parcel) {
|
||
|
this.timestampMs = parcel.readLong();
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
return (obj instanceof CreationTime) && this.timestampMs == ((CreationTime) obj).timestampMs;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
return Longs.hashCode(this.timestampMs);
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder sb = new StringBuilder("Creation time: ");
|
||
|
long j = this.timestampMs;
|
||
|
return sb.append(j == -2082844800000L ? "unset" : Long.valueOf(j)).toString();
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public void writeToParcel(Parcel parcel, int i) {
|
||
|
parcel.writeLong(this.timestampMs);
|
||
|
}
|
||
|
}
|