public class java.text.DateFormat$Field extends java.text.Format$Field
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.text.DateFormat$Field
super_class: java.text.Format$Field
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7441350119349544720
private static final java.util.Map<java.lang.String, java.text.DateFormat$Field> instanceMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/text/DateFormat$Field;>;
private static final java.text.DateFormat$Field[] calendarToFieldMapping;
descriptor: [Ljava/text/DateFormat$Field;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private int calendarField;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public static final java.text.DateFormat$Field ERA;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field YEAR;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field MONTH;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field DAY_OF_MONTH;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field HOUR_OF_DAY1;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field HOUR_OF_DAY0;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field MINUTE;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field SECOND;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field MILLISECOND;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field DAY_OF_WEEK;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field DAY_OF_YEAR;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field DAY_OF_WEEK_IN_MONTH;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field WEEK_OF_YEAR;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field WEEK_OF_MONTH;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field AM_PM;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field HOUR1;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field HOUR0;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.text.DateFormat$Field TIME_ZONE;
descriptor: Ljava/text/DateFormat$Field;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.util.HashMap
dup
bipush 18
invokespecial java.util.HashMap.<init>:(I)V
putstatic java.text.DateFormat$Field.instanceMap:Ljava/util/Map;
1: bipush 17
anewarray java.text.DateFormat$Field
2: putstatic java.text.DateFormat$Field.calendarToFieldMapping:[Ljava/text/DateFormat$Field;
3: new java.text.DateFormat$Field
dup
ldc "era"
iconst_0
invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.ERA:Ljava/text/DateFormat$Field;
4: new java.text.DateFormat$Field
dup
ldc "year"
iconst_1
invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.YEAR:Ljava/text/DateFormat$Field;
5: new java.text.DateFormat$Field
dup
ldc "month"
iconst_2
invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.MONTH:Ljava/text/DateFormat$Field;
6: new java.text.DateFormat$Field
dup
ldc "day of month"
iconst_5
7: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.DAY_OF_MONTH:Ljava/text/DateFormat$Field;
8: new java.text.DateFormat$Field
dup
ldc "hour of day 1"
iconst_m1
invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.HOUR_OF_DAY1:Ljava/text/DateFormat$Field;
9: new java.text.DateFormat$Field
dup
ldc "hour of day"
bipush 11
10: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.HOUR_OF_DAY0:Ljava/text/DateFormat$Field;
11: new java.text.DateFormat$Field
dup
ldc "minute"
bipush 12
invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.MINUTE:Ljava/text/DateFormat$Field;
12: new java.text.DateFormat$Field
dup
ldc "second"
bipush 13
invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.SECOND:Ljava/text/DateFormat$Field;
13: new java.text.DateFormat$Field
dup
ldc "millisecond"
bipush 14
14: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.MILLISECOND:Ljava/text/DateFormat$Field;
15: new java.text.DateFormat$Field
dup
ldc "day of week"
bipush 7
16: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.DAY_OF_WEEK:Ljava/text/DateFormat$Field;
17: new java.text.DateFormat$Field
dup
ldc "day of year"
bipush 6
18: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.DAY_OF_YEAR:Ljava/text/DateFormat$Field;
19: new java.text.DateFormat$Field
dup
ldc "day of week in month"
20: bipush 8
21: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
22: putstatic java.text.DateFormat$Field.DAY_OF_WEEK_IN_MONTH:Ljava/text/DateFormat$Field;
23: new java.text.DateFormat$Field
dup
ldc "week of year"
iconst_3
24: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.WEEK_OF_YEAR:Ljava/text/DateFormat$Field;
25: new java.text.DateFormat$Field
dup
ldc "week of month"
iconst_4
26: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.WEEK_OF_MONTH:Ljava/text/DateFormat$Field;
27: new java.text.DateFormat$Field
dup
ldc "am pm"
bipush 9
28: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.AM_PM:Ljava/text/DateFormat$Field;
29: new java.text.DateFormat$Field
dup
ldc "hour 1"
iconst_m1
invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.HOUR1:Ljava/text/DateFormat$Field;
30: new java.text.DateFormat$Field
dup
ldc "hour"
bipush 10
31: invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.HOUR0:Ljava/text/DateFormat$Field;
32: new java.text.DateFormat$Field
dup
ldc "time zone"
iconst_m1
invokespecial java.text.DateFormat$Field.<init>:(Ljava/lang/String;I)V
putstatic java.text.DateFormat$Field.TIME_ZONE:Ljava/text/DateFormat$Field;
return
LocalVariableTable:
Start End Slot Name Signature
public static java.text.DateFormat$Field ofCalendarField(int);
descriptor: (I)Ljava/text/DateFormat$Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
iflt 2
iload 0
1: getstatic java.text.DateFormat$Field.calendarToFieldMapping:[Ljava/text/DateFormat$Field;
arraylength
if_icmplt 5
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown Calendar constant "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
getstatic java.text.DateFormat$Field.calendarToFieldMapping:[Ljava/text/DateFormat$Field;
iload 0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 calendarField I
MethodParameters:
Name Flags
calendarField
protected void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.text.Format$Field.<init>:(Ljava/lang/String;)V
1: aload 0
iload 2
putfield java.text.DateFormat$Field.calendarField:I
2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljava/text/DateFormat$Field;
if_acmpne 6
3: getstatic java.text.DateFormat$Field.instanceMap:Ljava/util/Map;
aload 1
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: iload 2
iflt 6
5: getstatic java.text.DateFormat$Field.calendarToFieldMapping:[Ljava/text/DateFormat$Field;
iload 2
aload 0
aastore
6: StackMap locals: java.text.DateFormat$Field java.lang.String int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/text/DateFormat$Field;
0 7 1 name Ljava/lang/String;
0 7 2 calendarField I
MethodParameters:
Name Flags
name
calendarField
public int getCalendarField();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.DateFormat$Field.calendarField:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/DateFormat$Field;
protected java.lang.Object readResolve();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljava/text/DateFormat$Field;
if_acmpeq 2
1: new java.io.InvalidObjectException
dup
ldc "subclass didn't correctly implement readResolve"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic java.text.DateFormat$Field.instanceMap:Ljava/util/Map;
aload 0
invokevirtual java.text.DateFormat$Field.getName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
areturn
5: StackMap locals: java.lang.Object
StackMap stack:
new java.io.InvalidObjectException
dup
ldc "unknown attribute name"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/text/DateFormat$Field;
3 6 1 instance Ljava/lang/Object;
Exceptions:
throws java.io.InvalidObjectException
}
SourceFile: "DateFormat.java"
NestHost: java.text.DateFormat
InnerClasses:
public Field = java.text.DateFormat$Field of java.text.DateFormat
public Field = java.text.Format$Field of java.text.Format