AssembledChronology.java
22.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
package org.joda.time.chrono;
import java.io.IOException;
import java.io.ObjectInputStream;
import org.joda.time.Chronology;
import org.joda.time.DateTimeField;
import org.joda.time.DateTimeZone;
import org.joda.time.DurationField;
public abstract class AssembledChronology
extends BaseChronology
{
private static final long serialVersionUID = -6728465968995518215L;
private transient DateTimeField A;
private transient DateTimeField B;
private transient DateTimeField C;
private transient DateTimeField D;
private transient DateTimeField E;
private transient DateTimeField F;
private transient DateTimeField G;
private transient DateTimeField H;
private transient DateTimeField I;
private transient DateTimeField J;
private transient DateTimeField K;
private transient int L;
private final Chronology a;
private final Object b;
private transient DurationField c;
private transient DurationField d;
private transient DurationField e;
private transient DurationField f;
private transient DurationField g;
private transient DurationField h;
private transient DurationField i;
private transient DurationField j;
private transient DurationField k;
private transient DurationField l;
private transient DurationField m;
private transient DurationField n;
private transient DateTimeField o;
private transient DateTimeField p;
private transient DateTimeField q;
private transient DateTimeField r;
private transient DateTimeField s;
private transient DateTimeField t;
private transient DateTimeField u;
private transient DateTimeField v;
private transient DateTimeField w;
private transient DateTimeField x;
private transient DateTimeField y;
private transient DateTimeField z;
protected AssembledChronology(Chronology paramChronology, Object paramObject)
{
this.a = paramChronology;
this.b = paramObject;
a();
}
private void a()
{
int i4 = 0;
int i1 = 0;
Fields localFields = new Fields();
if (this.a != null) {
localFields.copyFieldsFrom(this.a);
}
assemble(localFields);
Object localObject = localFields.millis;
if (localObject != null)
{
this.c = ((DurationField)localObject);
localObject = localFields.seconds;
if (localObject == null) {
break label688;
}
label66:
this.d = ((DurationField)localObject);
localObject = localFields.minutes;
if (localObject == null) {
break label697;
}
label84:
this.e = ((DurationField)localObject);
localObject = localFields.hours;
if (localObject == null) {
break label706;
}
label102:
this.f = ((DurationField)localObject);
localObject = localFields.halfdays;
if (localObject == null) {
break label715;
}
label120:
this.g = ((DurationField)localObject);
localObject = localFields.days;
if (localObject == null) {
break label724;
}
label138:
this.h = ((DurationField)localObject);
localObject = localFields.weeks;
if (localObject == null) {
break label733;
}
label156:
this.i = ((DurationField)localObject);
localObject = localFields.weekyears;
if (localObject == null) {
break label742;
}
label174:
this.j = ((DurationField)localObject);
localObject = localFields.months;
if (localObject == null) {
break label751;
}
label192:
this.k = ((DurationField)localObject);
localObject = localFields.years;
if (localObject == null) {
break label760;
}
label210:
this.l = ((DurationField)localObject);
localObject = localFields.centuries;
if (localObject == null) {
break label769;
}
label228:
this.m = ((DurationField)localObject);
localObject = localFields.eras;
if (localObject == null) {
break label778;
}
label246:
this.n = ((DurationField)localObject);
localObject = localFields.millisOfSecond;
if (localObject == null) {
break label787;
}
label264:
this.o = ((DateTimeField)localObject);
localObject = localFields.millisOfDay;
if (localObject == null) {
break label796;
}
label282:
this.p = ((DateTimeField)localObject);
localObject = localFields.secondOfMinute;
if (localObject == null) {
break label805;
}
label300:
this.q = ((DateTimeField)localObject);
localObject = localFields.secondOfDay;
if (localObject == null) {
break label814;
}
label318:
this.r = ((DateTimeField)localObject);
localObject = localFields.minuteOfHour;
if (localObject == null) {
break label823;
}
label336:
this.s = ((DateTimeField)localObject);
localObject = localFields.minuteOfDay;
if (localObject == null) {
break label832;
}
label354:
this.t = ((DateTimeField)localObject);
localObject = localFields.hourOfDay;
if (localObject == null) {
break label841;
}
label372:
this.u = ((DateTimeField)localObject);
localObject = localFields.clockhourOfDay;
if (localObject == null) {
break label850;
}
label390:
this.v = ((DateTimeField)localObject);
localObject = localFields.hourOfHalfday;
if (localObject == null) {
break label859;
}
label408:
this.w = ((DateTimeField)localObject);
localObject = localFields.clockhourOfHalfday;
if (localObject == null) {
break label868;
}
label426:
this.x = ((DateTimeField)localObject);
localObject = localFields.halfdayOfDay;
if (localObject == null) {
break label877;
}
label444:
this.y = ((DateTimeField)localObject);
localObject = localFields.dayOfWeek;
if (localObject == null) {
break label886;
}
label462:
this.z = ((DateTimeField)localObject);
localObject = localFields.dayOfMonth;
if (localObject == null) {
break label895;
}
label480:
this.A = ((DateTimeField)localObject);
localObject = localFields.dayOfYear;
if (localObject == null) {
break label904;
}
label498:
this.B = ((DateTimeField)localObject);
localObject = localFields.weekOfWeekyear;
if (localObject == null) {
break label913;
}
label516:
this.C = ((DateTimeField)localObject);
localObject = localFields.weekyear;
if (localObject == null) {
break label922;
}
label534:
this.D = ((DateTimeField)localObject);
localObject = localFields.weekyearOfCentury;
if (localObject == null) {
break label931;
}
label552:
this.E = ((DateTimeField)localObject);
localObject = localFields.monthOfYear;
if (localObject == null) {
break label940;
}
label570:
this.F = ((DateTimeField)localObject);
localObject = localFields.year;
if (localObject == null) {
break label949;
}
label588:
this.G = ((DateTimeField)localObject);
localObject = localFields.yearOfEra;
if (localObject == null) {
break label958;
}
label606:
this.H = ((DateTimeField)localObject);
localObject = localFields.yearOfCentury;
if (localObject == null) {
break label967;
}
label624:
this.I = ((DateTimeField)localObject);
localObject = localFields.centuryOfEra;
if (localObject == null) {
break label976;
}
label642:
this.J = ((DateTimeField)localObject);
localObject = localFields.era;
if (localObject == null) {
break label985;
}
}
for (;;)
{
this.K = ((DateTimeField)localObject);
if (this.a != null) {
break label994;
}
this.L = i1;
return;
localObject = super.millis();
break;
label688:
localObject = super.seconds();
break label66;
label697:
localObject = super.minutes();
break label84;
label706:
localObject = super.hours();
break label102;
label715:
localObject = super.halfdays();
break label120;
label724:
localObject = super.days();
break label138;
label733:
localObject = super.weeks();
break label156;
label742:
localObject = super.weekyears();
break label174;
label751:
localObject = super.months();
break label192;
label760:
localObject = super.years();
break label210;
label769:
localObject = super.centuries();
break label228;
label778:
localObject = super.eras();
break label246;
label787:
localObject = super.millisOfSecond();
break label264;
label796:
localObject = super.millisOfDay();
break label282;
label805:
localObject = super.secondOfMinute();
break label300;
label814:
localObject = super.secondOfDay();
break label318;
label823:
localObject = super.minuteOfHour();
break label336;
label832:
localObject = super.minuteOfDay();
break label354;
label841:
localObject = super.hourOfDay();
break label372;
label850:
localObject = super.clockhourOfDay();
break label390;
label859:
localObject = super.hourOfHalfday();
break label408;
label868:
localObject = super.clockhourOfHalfday();
break label426;
label877:
localObject = super.halfdayOfDay();
break label444;
label886:
localObject = super.dayOfWeek();
break label462;
label895:
localObject = super.dayOfMonth();
break label480;
label904:
localObject = super.dayOfYear();
break label498;
label913:
localObject = super.weekOfWeekyear();
break label516;
label922:
localObject = super.weekyear();
break label534;
label931:
localObject = super.weekyearOfCentury();
break label552;
label940:
localObject = super.monthOfYear();
break label570;
label949:
localObject = super.year();
break label588;
label958:
localObject = super.yearOfEra();
break label606;
label967:
localObject = super.yearOfCentury();
break label624;
label976:
localObject = super.centuryOfEra();
break label642;
label985:
localObject = super.era();
}
label994:
if ((this.u == this.a.hourOfDay()) && (this.s == this.a.minuteOfHour()) && (this.q == this.a.secondOfMinute()) && (this.o == this.a.millisOfSecond()))
{
i1 = 1;
label1052:
if (this.p != this.a.millisOfDay()) {
break label1135;
}
}
label1135:
for (int i2 = 2;; i2 = 0)
{
int i3 = i4;
if (this.G == this.a.year())
{
i3 = i4;
if (this.F == this.a.monthOfYear())
{
i3 = i4;
if (this.A == this.a.dayOfMonth()) {
i3 = 4;
}
}
}
i1 = i3 | i1 | i2;
break;
i1 = 0;
break label1052;
}
}
private void readObject(ObjectInputStream paramObjectInputStream)
throws IOException, ClassNotFoundException
{
paramObjectInputStream.defaultReadObject();
a();
}
public abstract void assemble(Fields paramFields);
public final DurationField centuries()
{
return this.m;
}
public final DateTimeField centuryOfEra()
{
return this.J;
}
public final DateTimeField clockhourOfDay()
{
return this.v;
}
public final DateTimeField clockhourOfHalfday()
{
return this.x;
}
public final DateTimeField dayOfMonth()
{
return this.A;
}
public final DateTimeField dayOfWeek()
{
return this.z;
}
public final DateTimeField dayOfYear()
{
return this.B;
}
public final DurationField days()
{
return this.h;
}
public final DateTimeField era()
{
return this.K;
}
public final DurationField eras()
{
return this.n;
}
protected final Chronology getBase()
{
return this.a;
}
public long getDateTimeMillis(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
throws IllegalArgumentException
{
Chronology localChronology = this.a;
if ((localChronology != null) && ((this.L & 0x6) == 6)) {
return localChronology.getDateTimeMillis(paramInt1, paramInt2, paramInt3, paramInt4);
}
return super.getDateTimeMillis(paramInt1, paramInt2, paramInt3, paramInt4);
}
public long getDateTimeMillis(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7)
throws IllegalArgumentException
{
Chronology localChronology = this.a;
if ((localChronology != null) && ((this.L & 0x5) == 5)) {
return localChronology.getDateTimeMillis(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6, paramInt7);
}
return super.getDateTimeMillis(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6, paramInt7);
}
public long getDateTimeMillis(long paramLong, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
throws IllegalArgumentException
{
Chronology localChronology = this.a;
if ((localChronology != null) && ((this.L & 0x1) == 1)) {
return localChronology.getDateTimeMillis(paramLong, paramInt1, paramInt2, paramInt3, paramInt4);
}
return super.getDateTimeMillis(paramLong, paramInt1, paramInt2, paramInt3, paramInt4);
}
protected final Object getParam()
{
return this.b;
}
public DateTimeZone getZone()
{
Chronology localChronology = this.a;
if (localChronology != null) {
return localChronology.getZone();
}
return null;
}
public final DateTimeField halfdayOfDay()
{
return this.y;
}
public final DurationField halfdays()
{
return this.g;
}
public final DateTimeField hourOfDay()
{
return this.u;
}
public final DateTimeField hourOfHalfday()
{
return this.w;
}
public final DurationField hours()
{
return this.f;
}
public final DurationField millis()
{
return this.c;
}
public final DateTimeField millisOfDay()
{
return this.p;
}
public final DateTimeField millisOfSecond()
{
return this.o;
}
public final DateTimeField minuteOfDay()
{
return this.t;
}
public final DateTimeField minuteOfHour()
{
return this.s;
}
public final DurationField minutes()
{
return this.e;
}
public final DateTimeField monthOfYear()
{
return this.F;
}
public final DurationField months()
{
return this.k;
}
public final DateTimeField secondOfDay()
{
return this.r;
}
public final DateTimeField secondOfMinute()
{
return this.q;
}
public final DurationField seconds()
{
return this.d;
}
public final DateTimeField weekOfWeekyear()
{
return this.C;
}
public final DurationField weeks()
{
return this.i;
}
public final DateTimeField weekyear()
{
return this.D;
}
public final DateTimeField weekyearOfCentury()
{
return this.E;
}
public final DurationField weekyears()
{
return this.j;
}
public final DateTimeField year()
{
return this.G;
}
public final DateTimeField yearOfCentury()
{
return this.I;
}
public final DateTimeField yearOfEra()
{
return this.H;
}
public final DurationField years()
{
return this.l;
}
public static final class Fields
{
public DurationField centuries;
public DateTimeField centuryOfEra;
public DateTimeField clockhourOfDay;
public DateTimeField clockhourOfHalfday;
public DateTimeField dayOfMonth;
public DateTimeField dayOfWeek;
public DateTimeField dayOfYear;
public DurationField days;
public DateTimeField era;
public DurationField eras;
public DateTimeField halfdayOfDay;
public DurationField halfdays;
public DateTimeField hourOfDay;
public DateTimeField hourOfHalfday;
public DurationField hours;
public DurationField millis;
public DateTimeField millisOfDay;
public DateTimeField millisOfSecond;
public DateTimeField minuteOfDay;
public DateTimeField minuteOfHour;
public DurationField minutes;
public DateTimeField monthOfYear;
public DurationField months;
public DateTimeField secondOfDay;
public DateTimeField secondOfMinute;
public DurationField seconds;
public DateTimeField weekOfWeekyear;
public DurationField weeks;
public DateTimeField weekyear;
public DateTimeField weekyearOfCentury;
public DurationField weekyears;
public DateTimeField year;
public DateTimeField yearOfCentury;
public DateTimeField yearOfEra;
public DurationField years;
private static boolean a(DateTimeField paramDateTimeField)
{
if (paramDateTimeField == null) {
return false;
}
return paramDateTimeField.isSupported();
}
private static boolean a(DurationField paramDurationField)
{
if (paramDurationField == null) {
return false;
}
return paramDurationField.isSupported();
}
public final void copyFieldsFrom(Chronology paramChronology)
{
Object localObject = paramChronology.millis();
if (a((DurationField)localObject)) {
this.millis = ((DurationField)localObject);
}
localObject = paramChronology.seconds();
if (a((DurationField)localObject)) {
this.seconds = ((DurationField)localObject);
}
localObject = paramChronology.minutes();
if (a((DurationField)localObject)) {
this.minutes = ((DurationField)localObject);
}
localObject = paramChronology.hours();
if (a((DurationField)localObject)) {
this.hours = ((DurationField)localObject);
}
localObject = paramChronology.halfdays();
if (a((DurationField)localObject)) {
this.halfdays = ((DurationField)localObject);
}
localObject = paramChronology.days();
if (a((DurationField)localObject)) {
this.days = ((DurationField)localObject);
}
localObject = paramChronology.weeks();
if (a((DurationField)localObject)) {
this.weeks = ((DurationField)localObject);
}
localObject = paramChronology.weekyears();
if (a((DurationField)localObject)) {
this.weekyears = ((DurationField)localObject);
}
localObject = paramChronology.months();
if (a((DurationField)localObject)) {
this.months = ((DurationField)localObject);
}
localObject = paramChronology.years();
if (a((DurationField)localObject)) {
this.years = ((DurationField)localObject);
}
localObject = paramChronology.centuries();
if (a((DurationField)localObject)) {
this.centuries = ((DurationField)localObject);
}
localObject = paramChronology.eras();
if (a((DurationField)localObject)) {
this.eras = ((DurationField)localObject);
}
localObject = paramChronology.millisOfSecond();
if (a((DateTimeField)localObject)) {
this.millisOfSecond = ((DateTimeField)localObject);
}
localObject = paramChronology.millisOfDay();
if (a((DateTimeField)localObject)) {
this.millisOfDay = ((DateTimeField)localObject);
}
localObject = paramChronology.secondOfMinute();
if (a((DateTimeField)localObject)) {
this.secondOfMinute = ((DateTimeField)localObject);
}
localObject = paramChronology.secondOfDay();
if (a((DateTimeField)localObject)) {
this.secondOfDay = ((DateTimeField)localObject);
}
localObject = paramChronology.minuteOfHour();
if (a((DateTimeField)localObject)) {
this.minuteOfHour = ((DateTimeField)localObject);
}
localObject = paramChronology.minuteOfDay();
if (a((DateTimeField)localObject)) {
this.minuteOfDay = ((DateTimeField)localObject);
}
localObject = paramChronology.hourOfDay();
if (a((DateTimeField)localObject)) {
this.hourOfDay = ((DateTimeField)localObject);
}
localObject = paramChronology.clockhourOfDay();
if (a((DateTimeField)localObject)) {
this.clockhourOfDay = ((DateTimeField)localObject);
}
localObject = paramChronology.hourOfHalfday();
if (a((DateTimeField)localObject)) {
this.hourOfHalfday = ((DateTimeField)localObject);
}
localObject = paramChronology.clockhourOfHalfday();
if (a((DateTimeField)localObject)) {
this.clockhourOfHalfday = ((DateTimeField)localObject);
}
localObject = paramChronology.halfdayOfDay();
if (a((DateTimeField)localObject)) {
this.halfdayOfDay = ((DateTimeField)localObject);
}
localObject = paramChronology.dayOfWeek();
if (a((DateTimeField)localObject)) {
this.dayOfWeek = ((DateTimeField)localObject);
}
localObject = paramChronology.dayOfMonth();
if (a((DateTimeField)localObject)) {
this.dayOfMonth = ((DateTimeField)localObject);
}
localObject = paramChronology.dayOfYear();
if (a((DateTimeField)localObject)) {
this.dayOfYear = ((DateTimeField)localObject);
}
localObject = paramChronology.weekOfWeekyear();
if (a((DateTimeField)localObject)) {
this.weekOfWeekyear = ((DateTimeField)localObject);
}
localObject = paramChronology.weekyear();
if (a((DateTimeField)localObject)) {
this.weekyear = ((DateTimeField)localObject);
}
localObject = paramChronology.weekyearOfCentury();
if (a((DateTimeField)localObject)) {
this.weekyearOfCentury = ((DateTimeField)localObject);
}
localObject = paramChronology.monthOfYear();
if (a((DateTimeField)localObject)) {
this.monthOfYear = ((DateTimeField)localObject);
}
localObject = paramChronology.year();
if (a((DateTimeField)localObject)) {
this.year = ((DateTimeField)localObject);
}
localObject = paramChronology.yearOfEra();
if (a((DateTimeField)localObject)) {
this.yearOfEra = ((DateTimeField)localObject);
}
localObject = paramChronology.yearOfCentury();
if (a((DateTimeField)localObject)) {
this.yearOfCentury = ((DateTimeField)localObject);
}
localObject = paramChronology.centuryOfEra();
if (a((DateTimeField)localObject)) {
this.centuryOfEra = ((DateTimeField)localObject);
}
paramChronology = paramChronology.era();
if (a(paramChronology)) {
this.era = paramChronology;
}
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/org/joda/time/chrono/AssembledChronology.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/