-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathCalendar.php
More file actions
977 lines (874 loc) Β· 29.6 KB
/
Calendar.php
File metadata and controls
977 lines (874 loc) Β· 29.6 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
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\util;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Object_;
// use PHPJava\Packages\java\io\Serializable;
// use PHPJava\Packages\java\lang\Comparable;
// use PHPJava\Packages\java\util\Set;
/**
* The `Calendar` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
*/
class Calendar extends Object_ // implements Serializable, Comparable, Set
{
/**
* A style specifier for getDisplayNames indicating names in all styles, such as "January" and "Jan".
*
* @var mixed $ALL_STYLES
*/
public static $ALL_STYLES = null;
/**
* Value of the AM_PM field indicating the period of the day from midnight to just before noon.
*
* @var mixed $AM
*/
public static $AM = null;
/**
* Field number for get and set indicating whether the HOUR is before or after noon.
*
* @var mixed $AM_PM
*/
public static $AM_PM = null;
/**
* Value of the MONTH field indicating the fourth month of the year in the Gregorian and Julian calendars.
*
* @var mixed $APRIL
*/
public static $APRIL = null;
/**
* True if fields[] are in sync with the currently set time.
*
* @var mixed $areFieldsSet
*/
protected $areFieldsSet;
/**
* Value of the MONTH field indicating the eighth month of the year in the Gregorian and Julian calendars.
*
* @var mixed $AUGUST
*/
public static $AUGUST = null;
/**
* Field number for get and set indicating the day of the month.
*
* @var mixed $DATE
*/
public static $DATE = null;
/**
* Field number for get and set indicating the day of the month.
*
* @var mixed $DAY_OF_MONTH
*/
public static $DAY_OF_MONTH = null;
/**
* Field number for get and set indicating the day of the week.
*
* @var mixed $DAY_OF_WEEK
*/
public static $DAY_OF_WEEK = null;
/**
* Field number for get and set indicating the ordinal number of the day of the week within the current month.
*
* @var mixed $DAY_OF_WEEK_IN_MONTH
*/
public static $DAY_OF_WEEK_IN_MONTH = null;
/**
* Field number for get and set indicating the day number within the current year.
*
* @var mixed $DAY_OF_YEAR
*/
public static $DAY_OF_YEAR = null;
/**
* Value of the MONTH field indicating the twelfth month of the year in the Gregorian and Julian calendars.
*
* @var mixed $DECEMBER
*/
public static $DECEMBER = null;
/**
* Field number for get and set indicating the daylight saving offset in milliseconds.
*
* @var mixed $DST_OFFSET
*/
public static $DST_OFFSET = null;
/**
* Field number for get and set indicating the era, e.g., AD or BC in the Julian calendar.
*
* @var mixed $ERA
*/
public static $ERA = null;
/**
* Value of the MONTH field indicating the second month of the year in the Gregorian and Julian calendars.
*
* @var mixed $FEBRUARY
*/
public static $FEBRUARY = null;
/**
* The number of distinct fields recognized by get and set.
*
* @var mixed $FIELD_COUNT
*/
public static $FIELD_COUNT = null;
/**
* The calendar field values for the currently set time for this calendar.
*
* @var mixed $fields
*/
protected $fields;
/**
* Value of the DAY_OF_WEEK field indicating Friday.
*
* @var mixed $FRIDAY
*/
public static $FRIDAY = null;
/**
* Field number for get and set indicating the hour of the morning or afternoon.
*
* @var mixed $HOUR
*/
public static $HOUR = null;
/**
* Field number for get and set indicating the hour of the day.
*
* @var mixed $HOUR_OF_DAY
*/
public static $HOUR_OF_DAY = null;
/**
* The flags which tell if a specified calendar field for the calendar is set.
*
* @var mixed $isSet
*/
protected $isSet;
/**
* True if then the value of time is valid.
*
* @var mixed $isTimeSet
*/
protected $isTimeSet;
/**
* Value of the MONTH field indicating the first month of the year in the Gregorian and Julian calendars.
*
* @var mixed $JANUARY
*/
public static $JANUARY = null;
/**
* Value of the MONTH field indicating the seventh month of the year in the Gregorian and Julian calendars.
*
* @var mixed $JULY
*/
public static $JULY = null;
/**
* Value of the MONTH field indicating the sixth month of the year in the Gregorian and Julian calendars.
*
* @var mixed $JUNE
*/
public static $JUNE = null;
/**
* A style specifier for getDisplayName and getDisplayNames equivalent to LONG_FORMAT.
*
* @var mixed $LONG
*/
public static $LONG = null;
/**
* A style specifier for getDisplayName and getDisplayNames indicating a long name used for format.
*
* @var mixed $LONG_FORMAT
*/
public static $LONG_FORMAT = null;
/**
* A style specifier for getDisplayName and getDisplayNames indicating a long name used independently, such as a month name as calendar headers.
*
* @var mixed $LONG_STANDALONE
*/
public static $LONG_STANDALONE = null;
/**
* Value of the MONTH field indicating the third month of the year in the Gregorian and Julian calendars.
*
* @var mixed $MARCH
*/
public static $MARCH = null;
/**
* Value of the MONTH field indicating the fifth month of the year in the Gregorian and Julian calendars.
*
* @var mixed $MAY
*/
public static $MAY = null;
/**
* Field number for get and set indicating the millisecond within the second.
*
* @var mixed $MILLISECOND
*/
public static $MILLISECOND = null;
/**
* Field number for get and set indicating the minute within the hour.
*
* @var mixed $MINUTE
*/
public static $MINUTE = null;
/**
* Value of the DAY_OF_WEEK field indicating Monday.
*
* @var mixed $MONDAY
*/
public static $MONDAY = null;
/**
* Field number for get and set indicating the month.
*
* @var mixed $MONTH
*/
public static $MONTH = null;
/**
* A style specifier for getDisplayName and getDisplayNames indicating a narrow name used for format.
*
* @var mixed $NARROW_FORMAT
*/
public static $NARROW_FORMAT = null;
/**
* A style specifier for getDisplayName and getDisplayNames indicating a narrow name independently.
*
* @var mixed $NARROW_STANDALONE
*/
public static $NARROW_STANDALONE = null;
/**
* Value of the MONTH field indicating the eleventh month of the year in the Gregorian and Julian calendars.
*
* @var mixed $NOVEMBER
*/
public static $NOVEMBER = null;
/**
* Value of the MONTH field indicating the tenth month of the year in the Gregorian and Julian calendars.
*
* @var mixed $OCTOBER
*/
public static $OCTOBER = null;
/**
* Value of the AM_PM field indicating the period of the day from noon to just before midnight.
*
* @var mixed $PM
*/
public static $PM = null;
/**
* Value of the DAY_OF_WEEK field indicating Saturday.
*
* @var mixed $SATURDAY
*/
public static $SATURDAY = null;
/**
* Field number for get and set indicating the second within the minute.
*
* @var mixed $SECOND
*/
public static $SECOND = null;
/**
* Value of the MONTH field indicating the ninth month of the year in the Gregorian and Julian calendars.
*
* @var mixed $SEPTEMBER
*/
public static $SEPTEMBER = null;
/**
* A style specifier for getDisplayName and getDisplayNames equivalent to SHORT_FORMAT.
*
* @var mixed $SHORT
*/
public static $SHORT = null;
/**
* A style specifier for getDisplayName and getDisplayNames indicating a short name used for format.
*
* @var mixed $SHORT_FORMAT
*/
public static $SHORT_FORMAT = null;
/**
* A style specifier for getDisplayName and getDisplayNames indicating a short name used independently, such as a month abbreviation as calendar headers.
*
* @var mixed $SHORT_STANDALONE
*/
public static $SHORT_STANDALONE = null;
/**
* Value of the DAY_OF_WEEK field indicating Sunday.
*
* @var mixed $SUNDAY
*/
public static $SUNDAY = null;
/**
* Value of the DAY_OF_WEEK field indicating Thursday.
*
* @var mixed $THURSDAY
*/
public static $THURSDAY = null;
/**
* The currently set time for this calendar, expressed in milliseconds after January 1, 1970, 0:00:00 GMT.
*
* @var mixed $time
*/
protected $time;
/**
* Value of the DAY_OF_WEEK field indicating Tuesday.
*
* @var mixed $TUESDAY
*/
public static $TUESDAY = null;
/**
* Value of the MONTH field indicating the thirteenth month of the year.
*
* @var mixed $UNDECIMBER
*/
public static $UNDECIMBER = null;
/**
* Value of the DAY_OF_WEEK field indicating Wednesday.
*
* @var mixed $WEDNESDAY
*/
public static $WEDNESDAY = null;
/**
* Field number for get and set indicating the week number within the current month.
*
* @var mixed $WEEK_OF_MONTH
*/
public static $WEEK_OF_MONTH = null;
/**
* Field number for get and set indicating the week number within the current year.
*
* @var mixed $WEEK_OF_YEAR
*/
public static $WEEK_OF_YEAR = null;
/**
* Field number for get and set indicating the year.
*
* @var mixed $YEAR
*/
public static $YEAR = null;
/**
* Field number for get and set indicating the raw offset from GMT in milliseconds.
*
* @var mixed $ZONE_OFFSET
*/
public static $ZONE_OFFSET = null;
/**
* Adds or subtracts the specified amount of time to the given calendar field, based on the calendar's rules.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#add
* @param null|mixed $a
* @param null|mixed $b
* @throws NotImplementedException
*/
public function add($a = null, $b = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns whether this Calendar represents a time after the time represented by the specified Object.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#after
* @param null|mixed $a
* @throws NotImplementedException
*/
public function after($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns whether this Calendar represents a time before the time represented by the specified Object.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#before
* @param null|mixed $a
* @throws NotImplementedException
*/
public function before($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets all the calendar field values and the time value (millisecond offset from the Epoch) of this Calendar undefined.
* Sets the given calendar field value and the time value (millisecond offset from the Epoch) of this Calendar undefined.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#clear
* @param null|mixed $a
* @throws NotImplementedException
*/
public function clear($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Creates and returns a copy of this object.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#clone
* @param null|mixed $a
* @throws NotImplementedException
*/
public function clone($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Compares the time values (millisecond offsets from the Epoch) represented by two Calendar objects.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#compareTo
* @param null|mixed $a
* @throws NotImplementedException
*/
public function compareTo($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Fills in any unset fields in the calendar fields.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#complete
* @param null|mixed $a
* @throws NotImplementedException
*/
protected function complete($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Converts the current millisecond time value time to calendar field values in fields[].
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#computeFields
* @param null|mixed $a
* @throws NotImplementedException
*/
protected function computeFields($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Converts the current calendar field values in fields[] to the millisecond time value time.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#computeTime
* @param null|mixed $a
* @throws NotImplementedException
*/
protected function computeTime($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Compares this Calendar to the specified Object.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#equals
* @param null|mixed $a
* @throws NotImplementedException
*/
public function equals($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the value of the given calendar field.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#get
* @param null|mixed $a
* @throws NotImplementedException
*/
public function get($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the maximum value that the specified calendar field could have, given the time value of this Calendar.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getActualMaximum
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getActualMaximum($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the minimum value that the specified calendar field could have, given the time value of this Calendar.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getActualMinimum
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getActualMinimum($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns an unmodifiable Set containing all calendar types supported by Calendar in the runtime environment.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getAvailableCalendarTypes
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function static_getAvailableCalendarTypes($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns an array of all locales for which the getInstance methods of this class can return localized instances.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getAvailableLocales
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function static_getAvailableLocales($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the calendar type of this Calendar.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getCalendarType
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getCalendarType($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the string representation of the calendar field value in the given style and locale.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getDisplayName
* @param null|mixed $a
* @param null|mixed $b
* @param null|mixed $c
* @throws NotImplementedException
*/
public function getDisplayName($a = null, $b = null, $c = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns a Map containing all names of the calendar field in the given style and locale and their corresponding field values.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getDisplayNames
* @param null|mixed $a
* @param null|mixed $b
* @param null|mixed $c
* @throws NotImplementedException
*/
public function getDisplayNames($a = null, $b = null, $c = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Gets what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getFirstDayOfWeek
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getFirstDayOfWeek($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the highest minimum value for the given calendar field of this Calendar instance.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getGreatestMinimum
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getGreatestMinimum($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Gets a calendar using the default time zone and locale.
* Gets a calendar using the default time zone and specified locale.
* Gets a calendar using the specified time zone and default locale.
* Gets a calendar with the specified time zone and locale.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getInstance
* @param null|mixed $a
* @param null|mixed $b
* @throws NotImplementedException
*/
public static function static_getInstance($a = null, $b = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the lowest maximum value for the given calendar field of this Calendar instance.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getLeastMaximum
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getLeastMaximum($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the maximum value for the given calendar field of this Calendar instance.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getMaximum
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getMaximum($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Gets what the minimal days required in the first week of the year are; e.g., if the first week is defined as one that contains the first day of the first month of a year, this method returns 1.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getMinimalDaysInFirstWeek
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getMinimalDaysInFirstWeek($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the minimum value for the given calendar field of this Calendar instance.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getMinimum
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getMinimum($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns a Date object representing this Calendar's time value (millisecond offset from the Epoch").
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getTime
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getTime($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns this Calendar's time value in milliseconds.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getTimeInMillis
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getTimeInMillis($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Gets the time zone.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getTimeZone
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getTimeZone($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the number of weeks in the week year represented by this Calendar.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getWeeksInWeekYear
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getWeeksInWeekYear($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the week year represented by this Calendar.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#getWeekYear
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getWeekYear($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns a hash code for this calendar.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#hashCode
* @param null|mixed $a
* @throws NotImplementedException
*/
public function hashCode($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the value of the given calendar field.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#internalGet
* @param null|mixed $a
* @throws NotImplementedException
*/
protected function internalGet($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Tells whether date/time interpretation is to be lenient.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#isLenient
* @param null|mixed $a
* @throws NotImplementedException
*/
public function isLenient($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Determines if the given calendar field has a value set, including cases that the value has been set by internal fields calculations triggered by a get method call.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#isSet
* @param null|mixed $a
* @throws NotImplementedException
*/
public function isSet($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns whether this Calendar supports week dates.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#isWeekDateSupported
* @param null|mixed $a
* @throws NotImplementedException
*/
public function isWeekDateSupported($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Adds or subtracts (up/down) a single unit of time on the given time field without changing larger fields.
* Adds the specified (signed) amount to the specified calendar field without changing larger fields.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#roll
* @param null|mixed $a
* @param null|mixed $b
* @throws NotImplementedException
*/
public function roll($a = null, $b = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the given calendar field to the given value.
* Sets the values for the calendar fields YEAR, MONTH, and DAY_OF_MONTH.
* Sets the values for the calendar fields YEAR, MONTH, DAY_OF_MONTH, HOUR_OF_DAY, and MINUTE.
* Sets the values for the fields YEAR, MONTH, DAY_OF_MONTH, HOUR_OF_DAY, MINUTE, and SECOND.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#set
* @param null|mixed $a
* @param null|mixed $b
* @param null|mixed $c
* @param null|mixed $d
* @param null|mixed $e
* @param null|mixed $f
* @throws NotImplementedException
*/
public function set($a = null, $b = null, $c = null, $d = null, $e = null, $f = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#setFirstDayOfWeek
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setFirstDayOfWeek($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Specifies whether or not date/time interpretation is to be lenient.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#setLenient
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setLenient($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets what the minimal days required in the first week of the year are; For example, if the first week is defined as one that contains the first day of the first month of a year, call this method with value 1.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#setMinimalDaysInFirstWeek
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setMinimalDaysInFirstWeek($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets this Calendar's time with the given Date.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#setTime
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setTime($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets this Calendar's current time from the given long value.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#setTimeInMillis
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setTimeInMillis($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the time zone with the given time zone value.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#setTimeZone
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setTimeZone($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the date of this Calendar with the given date specifiers - week year, week of year, and day of week.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#setWeekDate
* @param null|mixed $a
* @param null|mixed $b
* @param null|mixed $c
* @throws NotImplementedException
*/
public function setWeekDate($a = null, $b = null, $c = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Converts this object to an Instant.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#toInstant
* @param null|mixed $a
* @throws NotImplementedException
*/
public function toInstant($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Return a string representation of this calendar.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#toString
* @param null|mixed $a
* @throws NotImplementedException
*/
public function toString($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}