.class public final Lq8/k;
.super Ln8/w;
.source ""


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ln8/w<",
        "Ljava/sql/Date;",
        ">;"
    }
.end annotation


# static fields
.field public static final b:Ln8/x;


# instance fields
.field public final a:Ljava/text/DateFormat;


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    new-instance v0, Lq8/k$a;

    invoke-direct {v0}, Lq8/k$a;-><init>()V

    sput-object v0, Lq8/k;->b:Ln8/x;

    return-void
.end method

.method public constructor <init>()V
    .registers 3

    invoke-direct {p0}, Ln8/w;-><init>()V

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string v1, "MMM d, yyyy"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lq8/k;->a:Ljava/text/DateFormat;

    return-void
.end method


# virtual methods
.method public a(Lu8/a;)Ljava/lang/Object;
    .registers 4

    .line 1
    monitor-enter p0

    :try_start_1
    invoke-virtual {p1}, Lu8/a;->e0()Lu8/b;

    move-result-object v0

    sget-object v1, Lu8/b;->z:Lu8/b;

    if-ne v0, v1, :cond_f

    invoke-virtual {p1}, Lu8/a;->a0()V
    :try_end_c
    .catchall {:try_start_1 .. :try_end_c} :catchall_2b

    const/4 p1, 0x0

    :goto_d
    monitor-exit p0

    goto :goto_23

    :cond_f
    :try_start_f
    iget-object v0, p0, Lq8/k;->a:Ljava/text/DateFormat;

    invoke-virtual {p1}, Lu8/a;->c0()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/text/DateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object p1

    invoke-virtual {p1}, Ljava/util/Date;->getTime()J

    move-result-wide v0

    new-instance p1, Ljava/sql/Date;

    invoke-direct {p1, v0, v1}, Ljava/sql/Date;-><init>(J)V
    :try_end_22
    .catch Ljava/text/ParseException; {:try_start_f .. :try_end_22} :catch_24
    .catchall {:try_start_f .. :try_end_22} :catchall_2b

    goto :goto_d

    :goto_23
    return-object p1

    :catch_24
    move-exception p1

    :try_start_25
    new-instance v0, Ln8/u;

    invoke-direct {v0, p1}, Ln8/u;-><init>(Ljava/lang/Throwable;)V

    throw v0
    :try_end_2b
    .catchall {:try_start_25 .. :try_end_2b} :catchall_2b

    :catchall_2b
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public b(Lu8/c;Ljava/lang/Object;)V
    .registers 4

    check-cast p2, Ljava/sql/Date;

    .line 1
    monitor-enter p0

    if-nez p2, :cond_7

    const/4 p2, 0x0

    goto :goto_d

    :cond_7
    :try_start_7
    iget-object v0, p0, Lq8/k;->a:Ljava/text/DateFormat;

    invoke-virtual {v0, p2}, Ljava/text/DateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object p2

    :goto_d
    invoke-virtual {p1, p2}, Lu8/c;->Z(Ljava/lang/String;)Lu8/c;
    :try_end_10
    .catchall {:try_start_7 .. :try_end_10} :catchall_12

    monitor-exit p0

    return-void

    :catchall_12
    move-exception p1

    monitor-exit p0

    throw p1
.end method
