com.groupbyinc.flux.common.joda.time.DateTimeZone.class Maven / Gradle / Ivy
???? 1 1com/groupbyinc/flux/common/joda/time/DateTimeZone java/lang/Object java/io/Serializable DateTimeZone.java :com/groupbyinc/flux/common/joda/time/DateTimeZone$LazyInit LazyInit 6com/groupbyinc/flux/common/joda/time/DateTimeZone$Stub Stub serialVersionUID JL??Ԕy?* UTC 3Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;
MAX_MILLIS I&[? cProvider -Ljava/util/concurrent/atomic/AtomicReference; aLjava/util/concurrent/atomic/AtomicReference;
cNameProvider eLjava/util/concurrent/atomic/AtomicReference; cDefault bLjava/util/concurrent/atomic/AtomicReference; DEFAULT_TZ_DATA_PATH Ljava/lang/String; ,com/groupbyinc/flux/common/joda/time/tz/data iID
getDefault 5()Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; java/lang/RuntimeException % "java/lang/IllegalArgumentException ' ) +java/util/concurrent/atomic/AtomicReference + get ()Ljava/lang/Object; - .
, /
user.timezone 1 java/lang/System 3 getProperty &(Ljava/lang/String;)Ljava/lang/String; 5 6
4 7 forID G(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; 9 :
; java/util/TimeZone = ()Ljava/util/TimeZone; # ?
> @ forTimeZone I(Ljava/util/TimeZone;)Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; B C
D F
compareAndSet '(Ljava/lang/Object;Ljava/lang/Object;)Z H I
, J
setDefault 6(Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;)V java/lang/SecurityException N getSecurityManager ()Ljava/lang/SecurityManager; P Q
4 R 7com/groupbyinc/flux/common/joda/time/JodaTimePermission T DateTimeZone.setDefault V (Ljava/lang/String;)V X Y
U Z java/lang/SecurityManager \ checkPermission (Ljava/security/Permission;)V ^ _
] ` "The datetime zone must not be null b
( Z set (Ljava/lang/Object;)V e f
, g 4Lcom/groupbyinc/flux/common/joda/convert/FromString; # $
j java/lang/String m equals (Ljava/lang/Object;)Z o p
n q getProvider 4()Lcom/groupbyinc/flux/common/joda/time/tz/Provider; s t
u 0com/groupbyinc/flux/common/joda/time/tz/Provider w getZone y : x z + |
startsWith (Ljava/lang/String;)Z ~
n ? - ? parseOffset (Ljava/lang/String;)I ? ?
? printOffset (I)Ljava/lang/String; ? ?
? fixedOffsetZone H(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; ? ?
? java/lang/StringBuilder ? ()V X ?
? ? The datetime zone id ' ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ' is not recognised ? toString ()Ljava/lang/String; ? ?
? ? forOffsetHours 6(I)Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; forOffsetHoursMinutes 7(II)Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; ? ?
? java/lang/ArithmeticException ? Hours out of range: ? (I)Ljava/lang/StringBuilder; ? ?
? ? Minutes out of range: ? /Positive hours must not have negative minutes: ? java/lang/Math ? abs (I)I ? ?
? ? ?` 5com/groupbyinc/flux/common/joda/time/field/FieldUtils ? safeMultiply (II)I ? ?
? ? Offset is too large ? forOffsetMillis ? ?
??٤ Millis out of range: ? getID ? ?
> ? The TimeZone id must not be null ? getConvertedId ? 6
? GMT+ ? GMT- ? substring ? ?
n ? length ()I ? ?
n ? charAt (I)C ? ?
n ? java/lang/Character ? isDigit (C)Z ? ?
? ? convertToAsciiNumber ? 6
?
? Z
? ?
? ? digit (CI)I ? ?
? ? setCharAt (IC)V ? ?
? ? 9com/groupbyinc/flux/common/joda/time/tz/FixedDateTimeZone ? )(Ljava/lang/String;Ljava/lang/String;II)V X ?
? ? getAvailableIDs ()Ljava/util/Set; ? ? x ? ? getDefaultProvider ? t
? setProvider 5(Lcom/groupbyinc/flux/common/joda/time/tz/Provider;)V DateTimeZone.setProvider validateProvider f(Lcom/groupbyinc/flux/common/joda/time/tz/Provider;)Lcom/groupbyinc/flux/common/joda/time/tz/Provider;
java/util/Set size
? +The provider doesn't have any available ids
contains p The provider doesn't support UTC
q Invalid UTC zone provided java/lang/Exception :com.groupbyinc.flux.common.joda.time.DateTimeZone.Provider java/lang/Class getClassLoader ()Ljava/lang/ClassLoader;
forName =(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;!"
# isAssignableFrom (Ljava/lang/Class;)Z%&
' :System property referred to class that does not implement ) -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ?+
?,
asSubclass $(Ljava/lang/Class;)Ljava/lang/Class;./
0 getConstructor 3([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;23
4 java/lang/reflect/Constructor6 newInstance '([Ljava/lang/Object;)Ljava/lang/Object;89
7: (Ljava/lang/Throwable;)V X<
&= 8com.groupbyinc.flux.common.joda.time.DateTimeZone.Folder? 8com/groupbyinc/flux/common/joda/time/tz/ZoneInfoProviderA java/io/FileC
D Z (Ljava/io/File;)V XF
BG
B Z printStackTraceJ ?
K 3com/groupbyinc/flux/common/joda/time/tz/UTCProviderM
N ? getNameProvider 8()Lcom/groupbyinc/flux/common/joda/time/tz/NameProvider; R 4com/groupbyinc/flux/common/joda/time/tz/NameProviderT getDefaultNameProviderVQ
W setNameProvider 9(Lcom/groupbyinc/flux/common/joda/time/tz/NameProvider;)V DateTimeZone.setNameProvider[ >com.groupbyinc.flux.common.joda.time.DateTimeZone.NameProvider] ;com/groupbyinc/flux/common/joda/time/tz/DefaultNameProvider_
` ? CONVERSION_MAP Ljava/util/Map;bc d
java/util/Mapf &(Ljava/lang/Object;)Ljava/lang/Object; -hgi OFFSET_FORMATTER ?Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;kl m =com/groupbyinc/flux/common/joda/time/format/DateTimeFormattero parseMillis (Ljava/lang/String;)Jqr
ps java/lang/StringBufferu
v ? (C)Ljava/lang/StringBuffer; ?x
vy 6? 7com/groupbyinc/flux/common/joda/time/format/FormatUtils| appendPaddedInteger (Ljava/lang/StringBuffer;II)V~
}?
v ?
? Id must not be null? " ? 2Lcom/groupbyinc/flux/common/joda/convert/ToString;
getNameKey (J)Ljava/lang/String; getShortName '(JLjava/util/Locale;)Ljava/lang/String;??
? java/util/Locale? ()Ljava/util/Locale; #?
????
?PQ
? isStandardOffset (J)Z??
? K(Ljava/util/Locale;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;??
`? J(Ljava/util/Locale;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;??U? getOffset (J)I??
? getName??
???
`???U? 9(Lcom/groupbyinc/flux/common/joda/time/ReadableInstant;)I 2com/groupbyinc/flux/common/joda/time/DateTimeUtils? currentTimeMillis ()J??
?? 4com/groupbyinc/flux/common/joda/time/ReadableInstant? getMillis???? getStandardOffset??
? getOffsetFromLocal nextTransition (J)J??
???????? previousTransition??
? convertUTCToLocal 'Adding time zone offset caused overflow?
? Z convertLocalToUTC (JZJ)J (JZ)J??
?