com.groupbyinc.flux.common.ibm.icu.text.TimeUnitFormat.class Maven / Gradle / Ivy
???? 2? 6com/groupbyinc/flux/common/ibm/icu/text/TimeUnitFormat 5com/groupbyinc/flux/common/ibm/icu/text/MeasureFormat TimeUnitFormat.java Ljava/lang/Deprecated; Ncom/groupbyinc/flux/common/ibm/icu/text/TimeUnitFormat$TimeUnitFormatSetupSink TimeUnitFormatSetupSink java/util/Map$Entry
java/util/Map Entry Acom/groupbyinc/flux/common/ibm/icu/text/MeasureFormat$FormatWidth FormatWidth 4com/groupbyinc/flux/common/ibm/icu/util/ULocale$Type /com/groupbyinc/flux/common/ibm/icu/util/ULocale Type 8com/groupbyinc/flux/common/ibm/icu/util/ULocale$Category Category 6com/groupbyinc/flux/common/ibm/icu/impl/UResource$Sink 1com/groupbyinc/flux/common/ibm/icu/impl/UResource Sink FULL_NAME I ABBREVIATED_NAME TOTAL_STYLES serialVersionUID J̋W?8?? format 6Lcom/groupbyinc/flux/common/ibm/icu/text/NumberFormat; locale 1Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale; style mf 7Lcom/groupbyinc/flux/common/ibm/icu/text/MeasureFormat; timeUnitToCountToPatterns Ljava/util/Map; yLjava/util/Map;>; pluralRules 5Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules; isReady Z DEFAULT_PATTERN_FOR_SECOND Ljava/lang/String; {0} s : DEFAULT_PATTERN_FOR_MINUTE {0} min = DEFAULT_PATTERN_FOR_HOUR {0} h @ DEFAULT_PATTERN_FOR_DAY {0} d C DEFAULT_PATTERN_FOR_WEEK {0} w F DEFAULT_PATTERN_FOR_MONTH {0} m I DEFAULT_PATTERN_FOR_YEAR {0} y L ()V N O
P
getDefault 3()Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale; R S
T WIDE CLcom/groupbyinc/flux/common/ibm/icu/text/MeasureFormat$FormatWidth; V W X getInstance ?(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Lcom/groupbyinc/flux/common/ibm/icu/text/MeasureFormat$FormatWidth;)Lcom/groupbyinc/flux/common/ibm/icu/text/MeasureFormat; Z [
\ / 0 ^ 6 7 ` . b this 8Lcom/groupbyinc/flux/common/ibm/icu/text/TimeUnitFormat; 4(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)V 5(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;I)V N g
h (Ljava/util/Locale;)V (Ljava/util/Locale;I)V N k
l Ljava/util/Locale; "java/lang/IllegalArgumentException o :style should be either FULL_NAME or ABBREVIATED_NAME style q (Ljava/lang/String;)V N s
p t SHORT v W w setLocale e(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)V y z
{ , - } k(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;ILcom/groupbyinc/flux/common/ibm/icu/text/NumberFormat;)V 4com/groupbyinc/flux/common/ibm/icu/text/NumberFormat ? clone ()Ljava/lang/Object; ? ?
? ? setNumberFormat p(Lcom/groupbyinc/flux/common/ibm/icu/text/NumberFormat;)Lcom/groupbyinc/flux/common/ibm/icu/text/TimeUnitFormat; ? ?
? numberFormat forLocale E(Ljava/util/Locale;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale; ? ?
? k(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/text/TimeUnitFormat;
withLocale j(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/text/MeasureFormat; ? ?
? L(Ljava/util/Locale;)Lcom/groupbyinc/flux/common/ibm/icu/text/TimeUnitFormat; y ?
? * + ? getNumberInstance i(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/text/NumberFormat; ? ?
? ? withNumberFormat o(Lcom/groupbyinc/flux/common/ibm/icu/text/NumberFormat;)Lcom/groupbyinc/flux/common/ibm/icu/text/MeasureFormat; ? ?
? ](Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer; * ?
? obj Ljava/lang/Object;
toAppendTo Ljava/lang/StringBuffer; pos Ljava/text/FieldPosition; parseObject e(Ljava/lang/String;Ljava/text/ParsePosition;)Lcom/groupbyinc/flux/common/ibm/icu/util/TimeUnitAmount; java/text/ParseException ? setup ? O
? java/text/ParsePosition ? getIndex ()I ? ?
? ? 1 2 ? keySet ()Ljava/util/Set; ? ?
?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/lang/String ? java/lang/Number ? 0com/groupbyinc/flux/common/ibm/icu/util/TimeUnit ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ? ? ? ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? entrySet ? ?
? getKey ? ? ? getValue ? ? ? [Ljava/lang/Object; ? 5com/groupbyinc/flux/common/ibm/icu/text/MessageFormat ?
setErrorIndex (I)V ? ?
? ? setIndex ? ?
? ? ?(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Object; ? ?
? ?
getErrorIndex ? ?
? ? java/lang/Object ? toString ()Ljava/lang/String; ? ?
? ? parse &(Ljava/lang/String;)Ljava/lang/Number; ? ?
? ? zero ? equals (Ljava/lang/Object;)Z ? ?
? ? java/lang/Integer valueOf (I)Ljava/lang/Integer;
one two 6com/groupbyinc/flux/common/ibm/icu/util/TimeUnitAmount
G(Ljava/lang/Number;Lcom/groupbyinc/flux/common/ibm/icu/util/TimeUnit;)V N
e Ljava/text/ParseException; tempObj pattern 7Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat; parsed temp Ljava/lang/Number;
parseDistance styl count patternEntry ; Ljava/util/Map$Entry; countToPattern 6Ljava/util/Map; timeUnit 2Lcom/groupbyinc/flux/common/ibm/icu/util/TimeUnit; source Ljava/text/ParsePosition; resultNumber resultTimeUnit oldPos newPos longestParseDistance countOfLongestMatch getLocale i(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale$Type;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)*
?+ FORMAT :Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale$Category;-. / m(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale$Category;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale; R1
2 3com/groupbyinc/flux/common/ibm/icu/text/PluralRules4 h(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules; ?6
57 4 5 9 java/util/HashMap;
<