33 lines
1.0 KiB
Java
33 lines
1.0 KiB
Java
package com.google.firebase.firestore.model.mutation;
|
|
|
|
import com.google.firebase.Timestamp;
|
|
import com.google.firebase.firestore.model.ServerTimestamps;
|
|
import o.sbb;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ServerTimestampOperation implements TransformOperation {
|
|
private static final ServerTimestampOperation SHARED_INSTANCE = new ServerTimestampOperation();
|
|
|
|
@Override // com.google.firebase.firestore.model.mutation.TransformOperation
|
|
public sbb applyToRemoteDocument(sbb sbbVar, sbb sbbVar2) {
|
|
return sbbVar2;
|
|
}
|
|
|
|
@Override // com.google.firebase.firestore.model.mutation.TransformOperation
|
|
public sbb computeBaseValue(sbb sbbVar) {
|
|
return null;
|
|
}
|
|
|
|
private ServerTimestampOperation() {
|
|
}
|
|
|
|
@Override // com.google.firebase.firestore.model.mutation.TransformOperation
|
|
public sbb applyToLocalView(sbb sbbVar, Timestamp timestamp) {
|
|
return ServerTimestamps.valueOf(timestamp, sbbVar);
|
|
}
|
|
|
|
public static ServerTimestampOperation getInstance() {
|
|
return SHARED_INSTANCE;
|
|
}
|
|
}
|