a$a.smali
.class final Lcom/google/firebase/encoders/b/a$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/encoders/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/encoders/b/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/google/firebase/encoders/e<",
"Ljava/util/Date;",
">;"
}
.end annotation
# static fields
.field private static final a:Ljava/text/DateFormat;
# direct methods
.method static constructor <clinit>()V
.registers 3
.line 53
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
.line 54
sput-object v0, Lcom/google/firebase/encoders/b/a$a;->a:Ljava/text/DateFormat;
const-string v1, "UTC"
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 private constructor <init>()V
.registers 1
.line 49
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method synthetic constructor <init>(B)V
.registers 2
.line 49
invoke-direct {p0}, Lcom/google/firebase/encoders/b/a$a;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic encode(Ljava/lang/Object;Ljava/lang/Object;)V
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 49
check-cast p1, Ljava/util/Date;
check-cast p2, Lcom/google/firebase/encoders/f;
.line 1059
sget-object v0, Lcom/google/firebase/encoders/b/a$a;->a:Ljava/text/DateFormat;
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/f;->a(Ljava/lang/String;)Lcom/google/firebase/encoders/f;
return-void
.end method