72 lines
1.6 KiB
Smali
72 lines
1.6 KiB
Smali
.class final Lcom/bugsnag/android/DateUtils$1;
|
|
.super Ljava/lang/ThreadLocal;
|
|
.source "DateUtils.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/bugsnag/android/DateUtils;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ThreadLocal",
|
|
"<",
|
|
"Ljava/text/DateFormat;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
.prologue
|
|
invoke-direct {p0}, Ljava/lang/ThreadLocal;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected bridge synthetic initialValue()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.prologue
|
|
invoke-virtual {p0}, Lcom/bugsnag/android/DateUtils$1;->initialValue()Ljava/text/DateFormat;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected initialValue()Ljava/text/DateFormat;
|
|
.locals 4
|
|
|
|
.prologue
|
|
const-string v2, "UTC"
|
|
|
|
invoke-static {v2}, Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;
|
|
|
|
move-result-object v1
|
|
|
|
.local v1, "tz":Ljava/util/TimeZone;
|
|
new-instance v0, Ljava/text/SimpleDateFormat;
|
|
|
|
const-string v2, "yyyy-MM-dd\'T\'HH:mm:ss\'Z\'"
|
|
|
|
sget-object v3, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
invoke-direct {v0, v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V
|
|
|
|
.local v0, "iso8601":Ljava/text/DateFormat;
|
|
invoke-virtual {v0, v1}, Ljava/text/DateFormat;->setTimeZone(Ljava/util/TimeZone;)V
|
|
|
|
return-object v0
|
|
.end method
|