package com.google.gson;

import c.b.a.r;
import c.b.a.w.a;
import c.b.a.w.b;
import c.b.a.w.c;
import java.io.IOException;
import java.util.Date;

/* JADX INFO: loaded from: classes.dex */
public final class DefaultDateTypeAdapter extends r<Date> {
    @Override // c.b.a.r
    public Date a(a aVar) throws IOException {
        if (aVar.v() == b.NULL) {
            aVar.r();
            return null;
        }
        aVar.t();
        throw null;
    }

    @Override // c.b.a.r
    public void b(c cVar, Date date) throws IOException {
        if (date != null) {
            throw null;
        }
        cVar.i();
    }

    public String toString() {
        throw null;
    }
}
