package com.google.firebase.firestore.model.mutation;

import com.google.firebase.Timestamp;
import com.google.firebase.firestore.model.ServerTimestamps;
import e4.H0;

/* JADX INFO: loaded from: classes3.dex */
public class ServerTimestampOperation implements TransformOperation {
    private static final ServerTimestampOperation SHARED_INSTANCE = new ServerTimestampOperation();

    private ServerTimestampOperation() {
    }

    public static ServerTimestampOperation getInstance() {
        return SHARED_INSTANCE;
    }

    @Override // com.google.firebase.firestore.model.mutation.TransformOperation
    public H0 applyToLocalView(H0 h0, Timestamp timestamp) {
        return ServerTimestamps.valueOf(timestamp, h0);
    }

    @Override // com.google.firebase.firestore.model.mutation.TransformOperation
    public H0 computeBaseValue(H0 h0) {
        return null;
    }

    @Override // com.google.firebase.firestore.model.mutation.TransformOperation
    public H0 applyToRemoteDocument(H0 h0, H0 h02) {
        return h02;
    }
}
