e$a.smali
.class public final Lcom/google/firebase/encoders/json/e$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/encoders/f;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/encoders/json/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/google/firebase/encoders/f<",
"Ljava/util/Date;",
">;"
}
.end annotation
# static fields
.field public static final a:Ljava/text/SimpleDateFormat;
# direct methods
.method public static constructor <clinit>()V
.registers 3
.line 1
new-instance v0, Ljava/text/SimpleDateFormat;
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
const-string v2, "yyyy-MM-dd\'T\'HH:mm:ss.SSS\'Z\'"
invoke-direct {v0, v2, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V
sput-object v0, Lcom/google/firebase/encoders/json/e$a;->a:Ljava/text/SimpleDateFormat;
const-string v1, "UTC"
.line 2
invoke-static {v1}, Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/text/DateFormat;->setTimeZone(Ljava/util/TimeZone;)V
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Ljava/lang/Object;Ljava/lang/Object;)V
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
check-cast p1, Ljava/util/Date;
check-cast p2, Lcom/google/firebase/encoders/g;
.line 2
sget-object v0, Lcom/google/firebase/encoders/json/e$a;->a:Ljava/text/SimpleDateFormat;
invoke-virtual {v0, p1}, Ljava/text/DateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
move-result-object p1
invoke-interface {p2, p1}, Lcom/google/firebase/encoders/g;->a(Ljava/lang/String;)Lcom/google/firebase/encoders/g;
return-void
.end method