Blame view

public/vendor/nesbot/carbon/src/Carbon/CarbonInterface.php 241 KB
86143e36f   Андрей Ларионов   Коммит вторник
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
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
  <?php
  
  /**
   * This file is part of the Carbon package.
   *
   * (c) Brian Nesbitt <brian@nesbot.com>
   *
   * For the full copyright and license information, please view the LICENSE
   * file that was distributed with this source code.
   */
  
  namespace Carbon;
  
  use BadMethodCallException;
  use Carbon\Exceptions\BadComparisonUnitException;
  use Carbon\Exceptions\ImmutableException;
  use Carbon\Exceptions\InvalidDateException;
  use Carbon\Exceptions\InvalidFormatException;
  use Carbon\Exceptions\UnknownGetterException;
  use Carbon\Exceptions\UnknownMethodException;
  use Carbon\Exceptions\UnknownSetterException;
  use Closure;
  use DateInterval;
  use DateTime;
  use DateTimeImmutable;
  use DateTimeInterface;
  use DateTimeZone;
  use JsonSerializable;
  use ReflectionException;
  use ReturnTypeWillChange;
  use Symfony\Component\Translation\TranslatorInterface;
  use Throwable;
  
  /**
   * Common interface for Carbon and CarbonImmutable.
   *
   * <autodoc generated by `composer phpdoc`>
   *
   * @property      int              $year
   * @property      int              $yearIso
   * @property      int              $month
   * @property      int              $day
   * @property      int              $hour
   * @property      int              $minute
   * @property      int              $second
   * @property      int              $micro
   * @property      int              $microsecond
   * @property      int|float|string $timestamp                                                                         seconds since the Unix Epoch
   * @property      string           $englishDayOfWeek                                                                  the day of week in English
   * @property      string           $shortEnglishDayOfWeek                                                             the abbreviated day of week in English
   * @property      string           $englishMonth                                                                      the month in English
   * @property      string           $shortEnglishMonth                                                                 the abbreviated month in English
   * @property      int              $milliseconds
   * @property      int              $millisecond
   * @property      int              $milli
   * @property      int              $week                                                                              1 through 53
   * @property      int              $isoWeek                                                                           1 through 53
   * @property      int              $weekYear                                                                          year according to week format
   * @property      int              $isoWeekYear                                                                       year according to ISO week format
   * @property      int              $dayOfYear                                                                         1 through 366
   * @property      int              $age                                                                               does a diffInYears() with default parameters
   * @property      int              $offset                                                                            the timezone offset in seconds from UTC
   * @property      int              $offsetMinutes                                                                     the timezone offset in minutes from UTC
   * @property      int              $offsetHours                                                                       the timezone offset in hours from UTC
   * @property      CarbonTimeZone   $timezone                                                                          the current timezone
   * @property      CarbonTimeZone   $tz                                                                                alias of $timezone
   * @property-read int              $dayOfWeek                                                                         0 (for Sunday) through 6 (for Saturday)
   * @property-read int              $dayOfWeekIso                                                                      1 (for Monday) through 7 (for Sunday)
   * @property-read int              $weekOfYear                                                                        ISO-8601 week number of year, weeks starting on Monday
   * @property-read int              $daysInMonth                                                                       number of days in the given month
   * @property-read string           $latinMeridiem                                                                     "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
   * @property-read string           $latinUpperMeridiem                                                                "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
   * @property-read string           $timezoneAbbreviatedName                                                           the current timezone abbreviated name
   * @property-read string           $tzAbbrName                                                                        alias of $timezoneAbbreviatedName
   * @property-read string           $dayName                                                                           long name of weekday translated according to Carbon locale, in english if no translation available for current language
   * @property-read string           $shortDayName                                                                      short name of weekday translated according to Carbon locale, in english if no translation available for current language
   * @property-read string           $minDayName                                                                        very short name of weekday translated according to Carbon locale, in english if no translation available for current language
   * @property-read string           $monthName                                                                         long name of month translated according to Carbon locale, in english if no translation available for current language
   * @property-read string           $shortMonthName                                                                    short name of month translated according to Carbon locale, in english if no translation available for current language
   * @property-read string           $meridiem                                                                          lowercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
   * @property-read string           $upperMeridiem                                                                     uppercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
   * @property-read int              $noZeroHour                                                                        current hour from 1 to 24
   * @property-read int              $weeksInYear                                                                       51 through 53
   * @property-read int              $isoWeeksInYear                                                                    51 through 53
   * @property-read int              $weekOfMonth                                                                       1 through 5
   * @property-read int              $weekNumberInMonth                                                                 1 through 5
   * @property-read int              $firstWeekDay                                                                      0 through 6
   * @property-read int              $lastWeekDay                                                                       0 through 6
   * @property-read int              $daysInYear                                                                        365 or 366
   * @property-read int              $quarter                                                                           the quarter of this instance, 1 - 4
   * @property-read int              $decade                                                                            the decade of this instance
   * @property-read int              $century                                                                           the century of this instance
   * @property-read int              $millennium                                                                        the millennium of this instance
   * @property-read bool             $dst                                                                               daylight savings time indicator, true if DST, false otherwise
   * @property-read bool             $local                                                                             checks if the timezone is local, true if local, false otherwise
   * @property-read bool             $utc                                                                               checks if the timezone is UTC, true if UTC, false otherwise
   * @property-read string           $timezoneName                                                                      the current timezone name
   * @property-read string           $tzName                                                                            alias of $timezoneName
   * @property-read string           $locale                                                                            locale of the current instance
   *
   * @method        bool             isUtc()                                                                            Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
   * @method        bool             isLocal()                                                                          Check if the current instance has non-UTC timezone.
   * @method        bool             isValid()                                                                          Check if the current instance is a valid date.
   * @method        bool             isDST()                                                                            Check if the current instance is in a daylight saving time.
   * @method        bool             isSunday()                                                                         Checks if the instance day is sunday.
   * @method        bool             isMonday()                                                                         Checks if the instance day is monday.
   * @method        bool             isTuesday()                                                                        Checks if the instance day is tuesday.
   * @method        bool             isWednesday()                                                                      Checks if the instance day is wednesday.
   * @method        bool             isThursday()                                                                       Checks if the instance day is thursday.
   * @method        bool             isFriday()                                                                         Checks if the instance day is friday.
   * @method        bool             isSaturday()                                                                       Checks if the instance day is saturday.
   * @method        bool             isSameYear(Carbon|DateTimeInterface|string|null $date = null)                      Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentYear()                                                                    Checks if the instance is in the same year as the current moment.
   * @method        bool             isNextYear()                                                                       Checks if the instance is in the same year as the current moment next year.
   * @method        bool             isLastYear()                                                                       Checks if the instance is in the same year as the current moment last year.
   * @method        bool             isSameWeek(Carbon|DateTimeInterface|string|null $date = null)                      Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentWeek()                                                                    Checks if the instance is in the same week as the current moment.
   * @method        bool             isNextWeek()                                                                       Checks if the instance is in the same week as the current moment next week.
   * @method        bool             isLastWeek()                                                                       Checks if the instance is in the same week as the current moment last week.
   * @method        bool             isSameDay(Carbon|DateTimeInterface|string|null $date = null)                       Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentDay()                                                                     Checks if the instance is in the same day as the current moment.
   * @method        bool             isNextDay()                                                                        Checks if the instance is in the same day as the current moment next day.
   * @method        bool             isLastDay()                                                                        Checks if the instance is in the same day as the current moment last day.
   * @method        bool             isSameHour(Carbon|DateTimeInterface|string|null $date = null)                      Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentHour()                                                                    Checks if the instance is in the same hour as the current moment.
   * @method        bool             isNextHour()                                                                       Checks if the instance is in the same hour as the current moment next hour.
   * @method        bool             isLastHour()                                                                       Checks if the instance is in the same hour as the current moment last hour.
   * @method        bool             isSameMinute(Carbon|DateTimeInterface|string|null $date = null)                    Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentMinute()                                                                  Checks if the instance is in the same minute as the current moment.
   * @method        bool             isNextMinute()                                                                     Checks if the instance is in the same minute as the current moment next minute.
   * @method        bool             isLastMinute()                                                                     Checks if the instance is in the same minute as the current moment last minute.
   * @method        bool             isSameSecond(Carbon|DateTimeInterface|string|null $date = null)                    Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentSecond()                                                                  Checks if the instance is in the same second as the current moment.
   * @method        bool             isNextSecond()                                                                     Checks if the instance is in the same second as the current moment next second.
   * @method        bool             isLastSecond()                                                                     Checks if the instance is in the same second as the current moment last second.
   * @method        bool             isSameMicro(Carbon|DateTimeInterface|string|null $date = null)                     Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentMicro()                                                                   Checks if the instance is in the same microsecond as the current moment.
   * @method        bool             isNextMicro()                                                                      Checks if the instance is in the same microsecond as the current moment next microsecond.
   * @method        bool             isLastMicro()                                                                      Checks if the instance is in the same microsecond as the current moment last microsecond.
   * @method        bool             isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null)               Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentMicrosecond()                                                             Checks if the instance is in the same microsecond as the current moment.
   * @method        bool             isNextMicrosecond()                                                                Checks if the instance is in the same microsecond as the current moment next microsecond.
   * @method        bool             isLastMicrosecond()                                                                Checks if the instance is in the same microsecond as the current moment last microsecond.
   * @method        bool             isCurrentMonth()                                                                   Checks if the instance is in the same month as the current moment.
   * @method        bool             isNextMonth()                                                                      Checks if the instance is in the same month as the current moment next month.
   * @method        bool             isLastMonth()                                                                      Checks if the instance is in the same month as the current moment last month.
   * @method        bool             isCurrentQuarter()                                                                 Checks if the instance is in the same quarter as the current moment.
   * @method        bool             isNextQuarter()                                                                    Checks if the instance is in the same quarter as the current moment next quarter.
   * @method        bool             isLastQuarter()                                                                    Checks if the instance is in the same quarter as the current moment last quarter.
   * @method        bool             isSameDecade(Carbon|DateTimeInterface|string|null $date = null)                    Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentDecade()                                                                  Checks if the instance is in the same decade as the current moment.
   * @method        bool             isNextDecade()                                                                     Checks if the instance is in the same decade as the current moment next decade.
   * @method        bool             isLastDecade()                                                                     Checks if the instance is in the same decade as the current moment last decade.
   * @method        bool             isSameCentury(Carbon|DateTimeInterface|string|null $date = null)                   Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentCentury()                                                                 Checks if the instance is in the same century as the current moment.
   * @method        bool             isNextCentury()                                                                    Checks if the instance is in the same century as the current moment next century.
   * @method        bool             isLastCentury()                                                                    Checks if the instance is in the same century as the current moment last century.
   * @method        bool             isSameMillennium(Carbon|DateTimeInterface|string|null $date = null)                Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
   * @method        bool             isCurrentMillennium()                                                              Checks if the instance is in the same millennium as the current moment.
   * @method        bool             isNextMillennium()                                                                 Checks if the instance is in the same millennium as the current moment next millennium.
   * @method        bool             isLastMillennium()                                                                 Checks if the instance is in the same millennium as the current moment last millennium.
   * @method        CarbonInterface  years(int $value)                                                                  Set current instance year to the given value.
   * @method        CarbonInterface  year(int $value)                                                                   Set current instance year to the given value.
   * @method        CarbonInterface  setYears(int $value)                                                               Set current instance year to the given value.
   * @method        CarbonInterface  setYear(int $value)                                                                Set current instance year to the given value.
   * @method        CarbonInterface  months(int $value)                                                                 Set current instance month to the given value.
   * @method        CarbonInterface  month(int $value)                                                                  Set current instance month to the given value.
   * @method        CarbonInterface  setMonths(int $value)                                                              Set current instance month to the given value.
   * @method        CarbonInterface  setMonth(int $value)                                                               Set current instance month to the given value.
   * @method        CarbonInterface  days(int $value)                                                                   Set current instance day to the given value.
   * @method        CarbonInterface  day(int $value)                                                                    Set current instance day to the given value.
   * @method        CarbonInterface  setDays(int $value)                                                                Set current instance day to the given value.
   * @method        CarbonInterface  setDay(int $value)                                                                 Set current instance day to the given value.
   * @method        CarbonInterface  hours(int $value)                                                                  Set current instance hour to the given value.
   * @method        CarbonInterface  hour(int $value)                                                                   Set current instance hour to the given value.
   * @method        CarbonInterface  setHours(int $value)                                                               Set current instance hour to the given value.
   * @method        CarbonInterface  setHour(int $value)                                                                Set current instance hour to the given value.
   * @method        CarbonInterface  minutes(int $value)                                                                Set current instance minute to the given value.
   * @method        CarbonInterface  minute(int $value)                                                                 Set current instance minute to the given value.
   * @method        CarbonInterface  setMinutes(int $value)                                                             Set current instance minute to the given value.
   * @method        CarbonInterface  setMinute(int $value)                                                              Set current instance minute to the given value.
   * @method        CarbonInterface  seconds(int $value)                                                                Set current instance second to the given value.
   * @method        CarbonInterface  second(int $value)                                                                 Set current instance second to the given value.
   * @method        CarbonInterface  setSeconds(int $value)                                                             Set current instance second to the given value.
   * @method        CarbonInterface  setSecond(int $value)                                                              Set current instance second to the given value.
   * @method        CarbonInterface  millis(int $value)                                                                 Set current instance millisecond to the given value.
   * @method        CarbonInterface  milli(int $value)                                                                  Set current instance millisecond to the given value.
   * @method        CarbonInterface  setMillis(int $value)                                                              Set current instance millisecond to the given value.
   * @method        CarbonInterface  setMilli(int $value)                                                               Set current instance millisecond to the given value.
   * @method        CarbonInterface  milliseconds(int $value)                                                           Set current instance millisecond to the given value.
   * @method        CarbonInterface  millisecond(int $value)                                                            Set current instance millisecond to the given value.
   * @method        CarbonInterface  setMilliseconds(int $value)                                                        Set current instance millisecond to the given value.
   * @method        CarbonInterface  setMillisecond(int $value)                                                         Set current instance millisecond to the given value.
   * @method        CarbonInterface  micros(int $value)                                                                 Set current instance microsecond to the given value.
   * @method        CarbonInterface  micro(int $value)                                                                  Set current instance microsecond to the given value.
   * @method        CarbonInterface  setMicros(int $value)                                                              Set current instance microsecond to the given value.
   * @method        CarbonInterface  setMicro(int $value)                                                               Set current instance microsecond to the given value.
   * @method        CarbonInterface  microseconds(int $value)                                                           Set current instance microsecond to the given value.
   * @method        CarbonInterface  microsecond(int $value)                                                            Set current instance microsecond to the given value.
   * @method        CarbonInterface  setMicroseconds(int $value)                                                        Set current instance microsecond to the given value.
   * @method        CarbonInterface  setMicrosecond(int $value)                                                         Set current instance microsecond to the given value.
   * @method        CarbonInterface  addYears(int $value = 1)                                                           Add years (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addYear()                                                                          Add one year to the instance (using date interval).
   * @method        CarbonInterface  subYears(int $value = 1)                                                           Sub years (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subYear()                                                                          Sub one year to the instance (using date interval).
   * @method        CarbonInterface  addYearsWithOverflow(int $value = 1)                                               Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addYearWithOverflow()                                                              Add one year to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subYearsWithOverflow(int $value = 1)                                               Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subYearWithOverflow()                                                              Sub one year to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addYearsWithoutOverflow(int $value = 1)                                            Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addYearWithoutOverflow()                                                           Add one year to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subYearsWithoutOverflow(int $value = 1)                                            Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subYearWithoutOverflow()                                                           Sub one year to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addYearsWithNoOverflow(int $value = 1)                                             Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addYearWithNoOverflow()                                                            Add one year to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subYearsWithNoOverflow(int $value = 1)                                             Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subYearWithNoOverflow()                                                            Sub one year to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addYearsNoOverflow(int $value = 1)                                                 Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addYearNoOverflow()                                                                Add one year to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subYearsNoOverflow(int $value = 1)                                                 Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subYearNoOverflow()                                                                Sub one year to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMonths(int $value = 1)                                                          Add months (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addMonth()                                                                         Add one month to the instance (using date interval).
   * @method        CarbonInterface  subMonths(int $value = 1)                                                          Sub months (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subMonth()                                                                         Sub one month to the instance (using date interval).
   * @method        CarbonInterface  addMonthsWithOverflow(int $value = 1)                                              Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addMonthWithOverflow()                                                             Add one month to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subMonthsWithOverflow(int $value = 1)                                              Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subMonthWithOverflow()                                                             Sub one month to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addMonthsWithoutOverflow(int $value = 1)                                           Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMonthWithoutOverflow()                                                          Add one month to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMonthsWithoutOverflow(int $value = 1)                                           Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMonthWithoutOverflow()                                                          Sub one month to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMonthsWithNoOverflow(int $value = 1)                                            Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMonthWithNoOverflow()                                                           Add one month to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMonthsWithNoOverflow(int $value = 1)                                            Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMonthWithNoOverflow()                                                           Sub one month to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMonthsNoOverflow(int $value = 1)                                                Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMonthNoOverflow()                                                               Add one month to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMonthsNoOverflow(int $value = 1)                                                Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMonthNoOverflow()                                                               Sub one month to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addDays(int $value = 1)                                                            Add days (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addDay()                                                                           Add one day to the instance (using date interval).
   * @method        CarbonInterface  subDays(int $value = 1)                                                            Sub days (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subDay()                                                                           Sub one day to the instance (using date interval).
   * @method        CarbonInterface  addHours(int $value = 1)                                                           Add hours (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addHour()                                                                          Add one hour to the instance (using date interval).
   * @method        CarbonInterface  subHours(int $value = 1)                                                           Sub hours (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subHour()                                                                          Sub one hour to the instance (using date interval).
   * @method        CarbonInterface  addMinutes(int $value = 1)                                                         Add minutes (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addMinute()                                                                        Add one minute to the instance (using date interval).
   * @method        CarbonInterface  subMinutes(int $value = 1)                                                         Sub minutes (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subMinute()                                                                        Sub one minute to the instance (using date interval).
   * @method        CarbonInterface  addSeconds(int $value = 1)                                                         Add seconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addSecond()                                                                        Add one second to the instance (using date interval).
   * @method        CarbonInterface  subSeconds(int $value = 1)                                                         Sub seconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subSecond()                                                                        Sub one second to the instance (using date interval).
   * @method        CarbonInterface  addMillis(int $value = 1)                                                          Add milliseconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addMilli()                                                                         Add one millisecond to the instance (using date interval).
   * @method        CarbonInterface  subMillis(int $value = 1)                                                          Sub milliseconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subMilli()                                                                         Sub one millisecond to the instance (using date interval).
   * @method        CarbonInterface  addMilliseconds(int $value = 1)                                                    Add milliseconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addMillisecond()                                                                   Add one millisecond to the instance (using date interval).
   * @method        CarbonInterface  subMilliseconds(int $value = 1)                                                    Sub milliseconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subMillisecond()                                                                   Sub one millisecond to the instance (using date interval).
   * @method        CarbonInterface  addMicros(int $value = 1)                                                          Add microseconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addMicro()                                                                         Add one microsecond to the instance (using date interval).
   * @method        CarbonInterface  subMicros(int $value = 1)                                                          Sub microseconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subMicro()                                                                         Sub one microsecond to the instance (using date interval).
   * @method        CarbonInterface  addMicroseconds(int $value = 1)                                                    Add microseconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addMicrosecond()                                                                   Add one microsecond to the instance (using date interval).
   * @method        CarbonInterface  subMicroseconds(int $value = 1)                                                    Sub microseconds (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subMicrosecond()                                                                   Sub one microsecond to the instance (using date interval).
   * @method        CarbonInterface  addMillennia(int $value = 1)                                                       Add millennia (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addMillennium()                                                                    Add one millennium to the instance (using date interval).
   * @method        CarbonInterface  subMillennia(int $value = 1)                                                       Sub millennia (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subMillennium()                                                                    Sub one millennium to the instance (using date interval).
   * @method        CarbonInterface  addMillenniaWithOverflow(int $value = 1)                                           Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addMillenniumWithOverflow()                                                        Add one millennium to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subMillenniaWithOverflow(int $value = 1)                                           Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subMillenniumWithOverflow()                                                        Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addMillenniaWithoutOverflow(int $value = 1)                                        Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMillenniumWithoutOverflow()                                                     Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMillenniaWithoutOverflow(int $value = 1)                                        Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMillenniumWithoutOverflow()                                                     Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMillenniaWithNoOverflow(int $value = 1)                                         Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMillenniumWithNoOverflow()                                                      Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMillenniaWithNoOverflow(int $value = 1)                                         Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMillenniumWithNoOverflow()                                                      Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMillenniaNoOverflow(int $value = 1)                                             Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addMillenniumNoOverflow()                                                          Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMillenniaNoOverflow(int $value = 1)                                             Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subMillenniumNoOverflow()                                                          Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addCenturies(int $value = 1)                                                       Add centuries (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addCentury()                                                                       Add one century to the instance (using date interval).
   * @method        CarbonInterface  subCenturies(int $value = 1)                                                       Sub centuries (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subCentury()                                                                       Sub one century to the instance (using date interval).
   * @method        CarbonInterface  addCenturiesWithOverflow(int $value = 1)                                           Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addCenturyWithOverflow()                                                           Add one century to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subCenturiesWithOverflow(int $value = 1)                                           Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subCenturyWithOverflow()                                                           Sub one century to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addCenturiesWithoutOverflow(int $value = 1)                                        Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addCenturyWithoutOverflow()                                                        Add one century to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subCenturiesWithoutOverflow(int $value = 1)                                        Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subCenturyWithoutOverflow()                                                        Sub one century to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addCenturiesWithNoOverflow(int $value = 1)                                         Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addCenturyWithNoOverflow()                                                         Add one century to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subCenturiesWithNoOverflow(int $value = 1)                                         Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subCenturyWithNoOverflow()                                                         Sub one century to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addCenturiesNoOverflow(int $value = 1)                                             Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addCenturyNoOverflow()                                                             Add one century to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subCenturiesNoOverflow(int $value = 1)                                             Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subCenturyNoOverflow()                                                             Sub one century to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addDecades(int $value = 1)                                                         Add decades (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addDecade()                                                                        Add one decade to the instance (using date interval).
   * @method        CarbonInterface  subDecades(int $value = 1)                                                         Sub decades (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subDecade()                                                                        Sub one decade to the instance (using date interval).
   * @method        CarbonInterface  addDecadesWithOverflow(int $value = 1)                                             Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addDecadeWithOverflow()                                                            Add one decade to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subDecadesWithOverflow(int $value = 1)                                             Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subDecadeWithOverflow()                                                            Sub one decade to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addDecadesWithoutOverflow(int $value = 1)                                          Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addDecadeWithoutOverflow()                                                         Add one decade to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subDecadesWithoutOverflow(int $value = 1)                                          Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subDecadeWithoutOverflow()                                                         Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addDecadesWithNoOverflow(int $value = 1)                                           Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addDecadeWithNoOverflow()                                                          Add one decade to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subDecadesWithNoOverflow(int $value = 1)                                           Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subDecadeWithNoOverflow()                                                          Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addDecadesNoOverflow(int $value = 1)                                               Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addDecadeNoOverflow()                                                              Add one decade to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subDecadesNoOverflow(int $value = 1)                                               Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subDecadeNoOverflow()                                                              Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addQuarters(int $value = 1)                                                        Add quarters (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addQuarter()                                                                       Add one quarter to the instance (using date interval).
   * @method        CarbonInterface  subQuarters(int $value = 1)                                                        Sub quarters (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subQuarter()                                                                       Sub one quarter to the instance (using date interval).
   * @method        CarbonInterface  addQuartersWithOverflow(int $value = 1)                                            Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addQuarterWithOverflow()                                                           Add one quarter to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subQuartersWithOverflow(int $value = 1)                                            Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  subQuarterWithOverflow()                                                           Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
   * @method        CarbonInterface  addQuartersWithoutOverflow(int $value = 1)                                         Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addQuarterWithoutOverflow()                                                        Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subQuartersWithoutOverflow(int $value = 1)                                         Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subQuarterWithoutOverflow()                                                        Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addQuartersWithNoOverflow(int $value = 1)                                          Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addQuarterWithNoOverflow()                                                         Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subQuartersWithNoOverflow(int $value = 1)                                          Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subQuarterWithNoOverflow()                                                         Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addQuartersNoOverflow(int $value = 1)                                              Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addQuarterNoOverflow()                                                             Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subQuartersNoOverflow(int $value = 1)                                              Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  subQuarterNoOverflow()                                                             Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
   * @method        CarbonInterface  addWeeks(int $value = 1)                                                           Add weeks (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addWeek()                                                                          Add one week to the instance (using date interval).
   * @method        CarbonInterface  subWeeks(int $value = 1)                                                           Sub weeks (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subWeek()                                                                          Sub one week to the instance (using date interval).
   * @method        CarbonInterface  addWeekdays(int $value = 1)                                                        Add weekdays (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  addWeekday()                                                                       Add one weekday to the instance (using date interval).
   * @method        CarbonInterface  subWeekdays(int $value = 1)                                                        Sub weekdays (the $value count passed in) to the instance (using date interval).
   * @method        CarbonInterface  subWeekday()                                                                       Sub one weekday to the instance (using date interval).
   * @method        CarbonInterface  addRealMicros(int $value = 1)                                                      Add microseconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealMicro()                                                                     Add one microsecond to the instance (using timestamp).
   * @method        CarbonInterface  subRealMicros(int $value = 1)                                                      Sub microseconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealMicro()                                                                     Sub one microsecond to the instance (using timestamp).
   * @method        CarbonPeriod     microsUntil($endDate = null, int $factor = 1)                                      Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
   * @method        CarbonInterface  addRealMicroseconds(int $value = 1)                                                Add microseconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealMicrosecond()                                                               Add one microsecond to the instance (using timestamp).
   * @method        CarbonInterface  subRealMicroseconds(int $value = 1)                                                Sub microseconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealMicrosecond()                                                               Sub one microsecond to the instance (using timestamp).
   * @method        CarbonPeriod     microsecondsUntil($endDate = null, int $factor = 1)                                Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
   * @method        CarbonInterface  addRealMillis(int $value = 1)                                                      Add milliseconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealMilli()                                                                     Add one millisecond to the instance (using timestamp).
   * @method        CarbonInterface  subRealMillis(int $value = 1)                                                      Sub milliseconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealMilli()                                                                     Sub one millisecond to the instance (using timestamp).
   * @method        CarbonPeriod     millisUntil($endDate = null, int $factor = 1)                                      Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
   * @method        CarbonInterface  addRealMilliseconds(int $value = 1)                                                Add milliseconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealMillisecond()                                                               Add one millisecond to the instance (using timestamp).
   * @method        CarbonInterface  subRealMilliseconds(int $value = 1)                                                Sub milliseconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealMillisecond()                                                               Sub one millisecond to the instance (using timestamp).
   * @method        CarbonPeriod     millisecondsUntil($endDate = null, int $factor = 1)                                Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
   * @method        CarbonInterface  addRealSeconds(int $value = 1)                                                     Add seconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealSecond()                                                                    Add one second to the instance (using timestamp).
   * @method        CarbonInterface  subRealSeconds(int $value = 1)                                                     Sub seconds (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealSecond()                                                                    Sub one second to the instance (using timestamp).
   * @method        CarbonPeriod     secondsUntil($endDate = null, int $factor = 1)                                     Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
   * @method        CarbonInterface  addRealMinutes(int $value = 1)                                                     Add minutes (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealMinute()                                                                    Add one minute to the instance (using timestamp).
   * @method        CarbonInterface  subRealMinutes(int $value = 1)                                                     Sub minutes (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealMinute()                                                                    Sub one minute to the instance (using timestamp).
   * @method        CarbonPeriod     minutesUntil($endDate = null, int $factor = 1)                                     Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
   * @method        CarbonInterface  addRealHours(int $value = 1)                                                       Add hours (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealHour()                                                                      Add one hour to the instance (using timestamp).
   * @method        CarbonInterface  subRealHours(int $value = 1)                                                       Sub hours (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealHour()                                                                      Sub one hour to the instance (using timestamp).
   * @method        CarbonPeriod     hoursUntil($endDate = null, int $factor = 1)                                       Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
   * @method        CarbonInterface  addRealDays(int $value = 1)                                                        Add days (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealDay()                                                                       Add one day to the instance (using timestamp).
   * @method        CarbonInterface  subRealDays(int $value = 1)                                                        Sub days (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealDay()                                                                       Sub one day to the instance (using timestamp).
   * @method        CarbonPeriod     daysUntil($endDate = null, int $factor = 1)                                        Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
   * @method        CarbonInterface  addRealWeeks(int $value = 1)                                                       Add weeks (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealWeek()                                                                      Add one week to the instance (using timestamp).
   * @method        CarbonInterface  subRealWeeks(int $value = 1)                                                       Sub weeks (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealWeek()                                                                      Sub one week to the instance (using timestamp).
   * @method        CarbonPeriod     weeksUntil($endDate = null, int $factor = 1)                                       Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
   * @method        CarbonInterface  addRealMonths(int $value = 1)                                                      Add months (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealMonth()                                                                     Add one month to the instance (using timestamp).
   * @method        CarbonInterface  subRealMonths(int $value = 1)                                                      Sub months (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealMonth()                                                                     Sub one month to the instance (using timestamp).
   * @method        CarbonPeriod     monthsUntil($endDate = null, int $factor = 1)                                      Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
   * @method        CarbonInterface  addRealQuarters(int $value = 1)                                                    Add quarters (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealQuarter()                                                                   Add one quarter to the instance (using timestamp).
   * @method        CarbonInterface  subRealQuarters(int $value = 1)                                                    Sub quarters (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealQuarter()                                                                   Sub one quarter to the instance (using timestamp).
   * @method        CarbonPeriod     quartersUntil($endDate = null, int $factor = 1)                                    Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
   * @method        CarbonInterface  addRealYears(int $value = 1)                                                       Add years (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealYear()                                                                      Add one year to the instance (using timestamp).
   * @method        CarbonInterface  subRealYears(int $value = 1)                                                       Sub years (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealYear()                                                                      Sub one year to the instance (using timestamp).
   * @method        CarbonPeriod     yearsUntil($endDate = null, int $factor = 1)                                       Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
   * @method        CarbonInterface  addRealDecades(int $value = 1)                                                     Add decades (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealDecade()                                                                    Add one decade to the instance (using timestamp).
   * @method        CarbonInterface  subRealDecades(int $value = 1)                                                     Sub decades (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealDecade()                                                                    Sub one decade to the instance (using timestamp).
   * @method        CarbonPeriod     decadesUntil($endDate = null, int $factor = 1)                                     Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
   * @method        CarbonInterface  addRealCenturies(int $value = 1)                                                   Add centuries (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealCentury()                                                                   Add one century to the instance (using timestamp).
   * @method        CarbonInterface  subRealCenturies(int $value = 1)                                                   Sub centuries (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealCentury()                                                                   Sub one century to the instance (using timestamp).
   * @method        CarbonPeriod     centuriesUntil($endDate = null, int $factor = 1)                                   Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
   * @method        CarbonInterface  addRealMillennia(int $value = 1)                                                   Add millennia (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  addRealMillennium()                                                                Add one millennium to the instance (using timestamp).
   * @method        CarbonInterface  subRealMillennia(int $value = 1)                                                   Sub millennia (the $value count passed in) to the instance (using timestamp).
   * @method        CarbonInterface  subRealMillennium()                                                                Sub one millennium to the instance (using timestamp).
   * @method        CarbonPeriod     millenniaUntil($endDate = null, int $factor = 1)                                   Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
   * @method        CarbonInterface  roundYear(float $precision = 1, string $function = "round")                        Round the current instance year with given precision using the given function.
   * @method        CarbonInterface  roundYears(float $precision = 1, string $function = "round")                       Round the current instance year with given precision using the given function.
   * @method        CarbonInterface  floorYear(float $precision = 1)                                                    Truncate the current instance year with given precision.
   * @method        CarbonInterface  floorYears(float $precision = 1)                                                   Truncate the current instance year with given precision.
   * @method        CarbonInterface  ceilYear(float $precision = 1)                                                     Ceil the current instance year with given precision.
   * @method        CarbonInterface  ceilYears(float $precision = 1)                                                    Ceil the current instance year with given precision.
   * @method        CarbonInterface  roundMonth(float $precision = 1, string $function = "round")                       Round the current instance month with given precision using the given function.
   * @method        CarbonInterface  roundMonths(float $precision = 1, string $function = "round")                      Round the current instance month with given precision using the given function.
   * @method        CarbonInterface  floorMonth(float $precision = 1)                                                   Truncate the current instance month with given precision.
   * @method        CarbonInterface  floorMonths(float $precision = 1)                                                  Truncate the current instance month with given precision.
   * @method        CarbonInterface  ceilMonth(float $precision = 1)                                                    Ceil the current instance month with given precision.
   * @method        CarbonInterface  ceilMonths(float $precision = 1)                                                   Ceil the current instance month with given precision.
   * @method        CarbonInterface  roundDay(float $precision = 1, string $function = "round")                         Round the current instance day with given precision using the given function.
   * @method        CarbonInterface  roundDays(float $precision = 1, string $function = "round")                        Round the current instance day with given precision using the given function.
   * @method        CarbonInterface  floorDay(float $precision = 1)                                                     Truncate the current instance day with given precision.
   * @method        CarbonInterface  floorDays(float $precision = 1)                                                    Truncate the current instance day with given precision.
   * @method        CarbonInterface  ceilDay(float $precision = 1)                                                      Ceil the current instance day with given precision.
   * @method        CarbonInterface  ceilDays(float $precision = 1)                                                     Ceil the current instance day with given precision.
   * @method        CarbonInterface  roundHour(float $precision = 1, string $function = "round")                        Round the current instance hour with given precision using the given function.
   * @method        CarbonInterface  roundHours(float $precision = 1, string $function = "round")                       Round the current instance hour with given precision using the given function.
   * @method        CarbonInterface  floorHour(float $precision = 1)                                                    Truncate the current instance hour with given precision.
   * @method        CarbonInterface  floorHours(float $precision = 1)                                                   Truncate the current instance hour with given precision.
   * @method        CarbonInterface  ceilHour(float $precision = 1)                                                     Ceil the current instance hour with given precision.
   * @method        CarbonInterface  ceilHours(float $precision = 1)                                                    Ceil the current instance hour with given precision.
   * @method        CarbonInterface  roundMinute(float $precision = 1, string $function = "round")                      Round the current instance minute with given precision using the given function.
   * @method        CarbonInterface  roundMinutes(float $precision = 1, string $function = "round")                     Round the current instance minute with given precision using the given function.
   * @method        CarbonInterface  floorMinute(float $precision = 1)                                                  Truncate the current instance minute with given precision.
   * @method        CarbonInterface  floorMinutes(float $precision = 1)                                                 Truncate the current instance minute with given precision.
   * @method        CarbonInterface  ceilMinute(float $precision = 1)                                                   Ceil the current instance minute with given precision.
   * @method        CarbonInterface  ceilMinutes(float $precision = 1)                                                  Ceil the current instance minute with given precision.
   * @method        CarbonInterface  roundSecond(float $precision = 1, string $function = "round")                      Round the current instance second with given precision using the given function.
   * @method        CarbonInterface  roundSeconds(float $precision = 1, string $function = "round")                     Round the current instance second with given precision using the given function.
   * @method        CarbonInterface  floorSecond(float $precision = 1)                                                  Truncate the current instance second with given precision.
   * @method        CarbonInterface  floorSeconds(float $precision = 1)                                                 Truncate the current instance second with given precision.
   * @method        CarbonInterface  ceilSecond(float $precision = 1)                                                   Ceil the current instance second with given precision.
   * @method        CarbonInterface  ceilSeconds(float $precision = 1)                                                  Ceil the current instance second with given precision.
   * @method        CarbonInterface  roundMillennium(float $precision = 1, string $function = "round")                  Round the current instance millennium with given precision using the given function.
   * @method        CarbonInterface  roundMillennia(float $precision = 1, string $function = "round")                   Round the current instance millennium with given precision using the given function.
   * @method        CarbonInterface  floorMillennium(float $precision = 1)                                              Truncate the current instance millennium with given precision.
   * @method        CarbonInterface  floorMillennia(float $precision = 1)                                               Truncate the current instance millennium with given precision.
   * @method        CarbonInterface  ceilMillennium(float $precision = 1)                                               Ceil the current instance millennium with given precision.
   * @method        CarbonInterface  ceilMillennia(float $precision = 1)                                                Ceil the current instance millennium with given precision.
   * @method        CarbonInterface  roundCentury(float $precision = 1, string $function = "round")                     Round the current instance century with given precision using the given function.
   * @method        CarbonInterface  roundCenturies(float $precision = 1, string $function = "round")                   Round the current instance century with given precision using the given function.
   * @method        CarbonInterface  floorCentury(float $precision = 1)                                                 Truncate the current instance century with given precision.
   * @method        CarbonInterface  floorCenturies(float $precision = 1)                                               Truncate the current instance century with given precision.
   * @method        CarbonInterface  ceilCentury(float $precision = 1)                                                  Ceil the current instance century with given precision.
   * @method        CarbonInterface  ceilCenturies(float $precision = 1)                                                Ceil the current instance century with given precision.
   * @method        CarbonInterface  roundDecade(float $precision = 1, string $function = "round")                      Round the current instance decade with given precision using the given function.
   * @method        CarbonInterface  roundDecades(float $precision = 1, string $function = "round")                     Round the current instance decade with given precision using the given function.
   * @method        CarbonInterface  floorDecade(float $precision = 1)                                                  Truncate the current instance decade with given precision.
   * @method        CarbonInterface  floorDecades(float $precision = 1)                                                 Truncate the current instance decade with given precision.
   * @method        CarbonInterface  ceilDecade(float $precision = 1)                                                   Ceil the current instance decade with given precision.
   * @method        CarbonInterface  ceilDecades(float $precision = 1)                                                  Ceil the current instance decade with given precision.
   * @method        CarbonInterface  roundQuarter(float $precision = 1, string $function = "round")                     Round the current instance quarter with given precision using the given function.
   * @method        CarbonInterface  roundQuarters(float $precision = 1, string $function = "round")                    Round the current instance quarter with given precision using the given function.
   * @method        CarbonInterface  floorQuarter(float $precision = 1)                                                 Truncate the current instance quarter with given precision.
   * @method        CarbonInterface  floorQuarters(float $precision = 1)                                                Truncate the current instance quarter with given precision.
   * @method        CarbonInterface  ceilQuarter(float $precision = 1)                                                  Ceil the current instance quarter with given precision.
   * @method        CarbonInterface  ceilQuarters(float $precision = 1)                                                 Ceil the current instance quarter with given precision.
   * @method        CarbonInterface  roundMillisecond(float $precision = 1, string $function = "round")                 Round the current instance millisecond with given precision using the given function.
   * @method        CarbonInterface  roundMilliseconds(float $precision = 1, string $function = "round")                Round the current instance millisecond with given precision using the given function.
   * @method        CarbonInterface  floorMillisecond(float $precision = 1)                                             Truncate the current instance millisecond with given precision.
   * @method        CarbonInterface  floorMilliseconds(float $precision = 1)                                            Truncate the current instance millisecond with given precision.
   * @method        CarbonInterface  ceilMillisecond(float $precision = 1)                                              Ceil the current instance millisecond with given precision.
   * @method        CarbonInterface  ceilMilliseconds(float $precision = 1)                                             Ceil the current instance millisecond with given precision.
   * @method        CarbonInterface  roundMicrosecond(float $precision = 1, string $function = "round")                 Round the current instance microsecond with given precision using the given function.
   * @method        CarbonInterface  roundMicroseconds(float $precision = 1, string $function = "round")                Round the current instance microsecond with given precision using the given function.
   * @method        CarbonInterface  floorMicrosecond(float $precision = 1)                                             Truncate the current instance microsecond with given precision.
   * @method        CarbonInterface  floorMicroseconds(float $precision = 1)                                            Truncate the current instance microsecond with given precision.
   * @method        CarbonInterface  ceilMicrosecond(float $precision = 1)                                              Ceil the current instance microsecond with given precision.
   * @method        CarbonInterface  ceilMicroseconds(float $precision = 1)                                             Ceil the current instance microsecond with given precision.
   * @method        string           shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1)        Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
   * @method        string           longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1)         Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
   * @method        string           shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1)        Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
   * @method        string           longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1)         Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
   * @method        string           shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1)   Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
   * @method        string           longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1)    Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
   * @method        string           shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
   * @method        string           longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1)  Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
   *
   * </autodoc>
   */
  interface CarbonInterface extends DateTimeInterface, JsonSerializable
  {
      /**
       * Diff wording options(expressed in octal).
       */
      public const NO_ZERO_DIFF = 01;
      public const JUST_NOW = 02;
      public const ONE_DAY_WORDS = 04;
      public const TWO_DAY_WORDS = 010;
      public const SEQUENTIAL_PARTS_ONLY = 020;
      public const ROUND = 040;
      public const FLOOR = 0100;
      public const CEIL = 0200;
  
      /**
       * Diff syntax options.
       */
      public const DIFF_ABSOLUTE = 1; // backward compatibility with true
      public const DIFF_RELATIVE_AUTO = 0; // backward compatibility with false
      public const DIFF_RELATIVE_TO_NOW = 2;
      public const DIFF_RELATIVE_TO_OTHER = 3;
  
      /**
       * Translate string options.
       */
      public const TRANSLATE_MONTHS = 1;
      public const TRANSLATE_DAYS = 2;
      public const TRANSLATE_UNITS = 4;
      public const TRANSLATE_MERIDIEM = 8;
      public const TRANSLATE_DIFF = 0x10;
      public const TRANSLATE_ALL = self::TRANSLATE_MONTHS | self::TRANSLATE_DAYS | self::TRANSLATE_UNITS | self::TRANSLATE_MERIDIEM | self::TRANSLATE_DIFF;
  
      /**
       * The day constants.
       */
      public const SUNDAY = 0;
      public const MONDAY = 1;
      public const TUESDAY = 2;
      public const WEDNESDAY = 3;
      public const THURSDAY = 4;
      public const FRIDAY = 5;
      public const SATURDAY = 6;
  
      /**
       * The month constants.
       * These aren't used by Carbon itself but exist for
       * convenience sake alone.
       */
      public const JANUARY = 1;
      public const FEBRUARY = 2;
      public const MARCH = 3;
      public const APRIL = 4;
      public const MAY = 5;
      public const JUNE = 6;
      public const JULY = 7;
      public const AUGUST = 8;
      public const SEPTEMBER = 9;
      public const OCTOBER = 10;
      public const NOVEMBER = 11;
      public const DECEMBER = 12;
  
      /**
       * Number of X in Y.
       */
      public const YEARS_PER_MILLENNIUM = 1000;
      public const YEARS_PER_CENTURY = 100;
      public const YEARS_PER_DECADE = 10;
      public const MONTHS_PER_YEAR = 12;
      public const MONTHS_PER_QUARTER = 3;
      public const QUARTERS_PER_YEAR = 4;
      public const WEEKS_PER_YEAR = 52;
      public const WEEKS_PER_MONTH = 4;
      public const DAYS_PER_YEAR = 365;
      public const DAYS_PER_WEEK = 7;
      public const HOURS_PER_DAY = 24;
      public const MINUTES_PER_HOUR = 60;
      public const SECONDS_PER_MINUTE = 60;
      public const MILLISECONDS_PER_SECOND = 1000;
      public const MICROSECONDS_PER_MILLISECOND = 1000;
      public const MICROSECONDS_PER_SECOND = 1000000;
  
      /**
       * Special settings to get the start of week from current locale culture.
       */
      public const WEEK_DAY_AUTO = 'auto';
  
      /**
       * RFC7231 DateTime format.
       *
       * @var string
       */
      public const RFC7231_FORMAT = 'D, d M Y H:i:s \G\M\T';
  
      /**
       * Default format to use for __toString method when type juggling occurs.
       *
       * @var string
       */
      public const DEFAULT_TO_STRING_FORMAT = 'Y-m-d H:i:s';
  
      /**
       * Format for converting mocked time, includes microseconds.
       *
       * @var string
       */
      public const MOCK_DATETIME_FORMAT = 'Y-m-d H:i:s.u';
  
      /**
       * Pattern detection for ->isoFormat and ::createFromIsoFormat.
       *
       * @var string
       */
      public const ISO_FORMAT_REGEXP = '(O[YMDHhms]|[Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY?|g{1,5}|G{1,5}|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?)';
  
      // <methods>
  
      /**
       * Dynamically handle calls to the class.
       *
       * @param string $method     magic method name called
       * @param array  $parameters parameters list
       *
       * @throws UnknownMethodException|BadMethodCallException|ReflectionException|Throwable
       *
       * @return mixed
       */
      public function __call($method, $parameters);
  
      /**
       * Dynamically handle calls to the class.
       *
       * @param string $method     magic method name called
       * @param array  $parameters parameters list
       *
       * @throws BadMethodCallException
       *
       * @return mixed
       */
      public static function __callStatic($method, $parameters);
  
      /**
       * Update constructedObjectId on cloned.
       */
      public function __clone();
  
      /**
       * Create a new Carbon instance.
       *
       * Please see the testing aids section (specifically static::setTestNow())
       * for more on the possibility of this constructor returning a test instance.
       *
       * @param DateTimeInterface|string|null $time
       * @param DateTimeZone|string|null      $tz
       *
       * @throws InvalidFormatException
       */
      public function __construct($time = null, $tz = null);
  
      /**
       * Show truthy properties on var_dump().
       *
       * @return array
       */
      public function __debugInfo();
  
      /**
       * Get a part of the Carbon object
       *
       * @param string $name
       *
       * @throws UnknownGetterException
       *
       * @return string|int|bool|DateTimeZone|null
       */
      public function __get($name);
  
      /**
       * Check if an attribute exists on the object
       *
       * @param string $name
       *
       * @return bool
       */
      public function __isset($name);
  
      /**
       * Set a part of the Carbon object
       *
       * @param string                  $name
       * @param string|int|DateTimeZone $value
       *
       * @throws UnknownSetterException|ReflectionException
       *
       * @return void
       */
      public function __set($name, $value);
  
      /**
       * The __set_state handler.
       *
       * @param string|array $dump
       *
       * @return static
       */
      #[ReturnTypeWillChange]
      public static function __set_state($dump);
  
      /**
       * Returns the list of properties to dump on serialize() called on.
       *
       * Only used by PHP < 7.4.
       *
       * @return array
       */
      public function __sleep();
  
      /**
       * Format the instance as a string using the set format
       *
       * @example
       * ```
       * echo Carbon::now(); // Carbon instances can be cast to string
       * ```
       *
       * @return string
       */
      public function __toString();
  
      /**
       * Add given units or interval to the current instance.
       *
       * @example $date->add('hour', 3)
       * @example $date->add(15, 'days')
       * @example $date->add(CarbonInterval::days(4))
       *
       * @param string|DateInterval|Closure|CarbonConverterInterface $unit
       * @param int                                                  $value
       * @param bool|null                                            $overflow
       *
       * @return static
       */
      #[ReturnTypeWillChange]
      public function add($unit, $value = 1, $overflow = null);
  
      /**
       * Add seconds to the instance using timestamp. Positive $value travels
       * forward while negative $value travels into the past.
       *
       * @param string $unit
       * @param int    $value
       *
       * @return static
       */
      public function addRealUnit($unit, $value = 1);
  
      /**
       * Add given units to the current instance.
       *
       * @param string    $unit
       * @param int       $value
       * @param bool|null $overflow
       *
       * @return static
       */
      public function addUnit($unit, $value = 1, $overflow = null);
  
      /**
       * Add any unit to a new value without overflowing current other unit given.
       *
       * @param string $valueUnit    unit name to modify
       * @param int    $value        amount to add to the input unit
       * @param string $overflowUnit unit name to not overflow
       *
       * @return static
       */
      public function addUnitNoOverflow($valueUnit, $value, $overflowUnit);
  
      /**
       * Get the difference in a human readable format in the current locale from an other
       * instance given to now
       *
       * @param int|array $syntax  if array passed, parameters will be extracted from it, the array may contains:
       *                           - 'syntax' entry (see below)
       *                           - 'short' entry (see below)
       *                           - 'parts' entry (see below)
       *                           - 'options' entry (see below)
       *                           - 'join' entry determines how to join multiple parts of the string
       *                           `  - if $join is a string, it's used as a joiner glue
       *                           `  - if $join is a callable/closure, it get the list of string and should return a string
       *                           `  - if $join is an array, the first item will be the default glue, and the second item
       *                           `    will be used instead of the glue for the last item
       *                           `  - if $join is true, it will be guessed from the locale ('list' translation file entry)
       *                           `  - if $join is missing, a space will be used as glue
       *                           if int passed, it add modifiers:
       *                           Possible values:
       *                           - CarbonInterface::DIFF_ABSOLUTE          no modifiers
       *                           - CarbonInterface::DIFF_RELATIVE_TO_NOW   add ago/from now modifier
       *                           - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
       *                           Default value: CarbonInterface::DIFF_ABSOLUTE
       * @param bool      $short   displays short format of time units
       * @param int       $parts   maximum number of parts to display (default value: 1: single part)
       * @param int       $options human diff options
       *
       * @return string
       */
      public function ago($syntax = null, $short = false, $parts = 1, $options = null);
  
      /**
       * Modify the current instance to the average of a given instance (default now) and the current instance
       * (second-precision).
       *
       * @param \Carbon\Carbon|\DateTimeInterface|null $date
       *
       * @return static
       */
      public function average($date = null);
  
      /**
       * Clone the current instance if it's mutable.
       *
       * This method is convenient to ensure you don't mutate the initial object
       * but avoid to make a useless copy of it if it's already immutable.
       *
       * @return static
       */
      public function avoidMutation();
  
      /**
       * Determines if the instance is between two others.
       *
       * The third argument allow you to specify if bounds are included or not (true by default)
       * but for when you including/excluding bounds may produce different results in your application,
       * we recommend to use the explicit methods ->betweenIncluded() or ->betweenExcluded() instead.
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25')->between('2018-07-14', '2018-08-01'); // true
       * Carbon::parse('2018-07-25')->between('2018-08-01', '2018-08-20'); // false
       * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01'); // true
       * Carbon::parse('2018-07-25')->between('2018-07-25', '2018-08-01', false); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
       * @param bool                                    $equal Indicates if an equal to comparison should be done
       *
       * @return bool
       */
      public function between($date1, $date2, $equal = true): bool;
  
      /**
       * Determines if the instance is between two others, bounds excluded.
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-14', '2018-08-01'); // true
       * Carbon::parse('2018-07-25')->betweenExcluded('2018-08-01', '2018-08-20'); // false
       * Carbon::parse('2018-07-25')->betweenExcluded('2018-07-25', '2018-08-01'); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
       *
       * @return bool
       */
      public function betweenExcluded($date1, $date2): bool;
  
      /**
       * Determines if the instance is between two others, bounds included.
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-14', '2018-08-01'); // true
       * Carbon::parse('2018-07-25')->betweenIncluded('2018-08-01', '2018-08-20'); // false
       * Carbon::parse('2018-07-25')->betweenIncluded('2018-07-25', '2018-08-01'); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
       *
       * @return bool
       */
      public function betweenIncluded($date1, $date2): bool;
  
      /**
       * Returns either day of week + time (e.g. "Last Friday at 3:30 PM") if reference time is within 7 days,
       * or a calendar date (e.g. "10/29/2017") otherwise.
       *
       * Language, date and time formats will change according to the current locale.
       *
       * @param Carbon|\DateTimeInterface|string|null $referenceTime
       * @param array                                 $formats
       *
       * @return string
       */
      public function calendar($referenceTime = null, array $formats = []);
  
      /**
       * Checks if the (date)time string is in a given format and valid to create a
       * new instance.
       *
       * @example
       * ```
       * Carbon::canBeCreatedFromFormat('11:12:45', 'h:i:s'); // true
       * Carbon::canBeCreatedFromFormat('13:12:45', 'h:i:s'); // false
       * ```
       *
       * @param string $date
       * @param string $format
       *
       * @return bool
       */
      public static function canBeCreatedFromFormat($date, $format);
  
      /**
       * Return the Carbon instance passed through, a now instance in the same timezone
       * if null given or parse the input if string given.
       *
       * @param Carbon|\Carbon\CarbonPeriod|\Carbon\CarbonInterval|\DateInterval|\DatePeriod|DateTimeInterface|string|null $date
       *
       * @return static
       */
      public function carbonize($date = null);
  
      /**
       * Cast the current instance into the given class.
       *
       * @param string $className The $className::instance() method will be called to cast the current object.
       *
       * @return DateTimeInterface
       */
      public function cast(string $className);
  
      /**
       * Ceil the current instance second with given precision if specified.
       *
       * @param float|int|string|\DateInterval|null $precision
       *
       * @return CarbonInterface
       */
      public function ceil($precision = 1);
  
      /**
       * Ceil the current instance at the given unit with given precision if specified.
       *
       * @param string    $unit
       * @param float|int $precision
       *
       * @return CarbonInterface
       */
      public function ceilUnit($unit, $precision = 1);
  
      /**
       * Ceil the current instance week.
       *
       * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
       *
       * @return CarbonInterface
       */
      public function ceilWeek($weekStartsAt = null);
  
      /**
       * Similar to native modify() method of DateTime but can handle more grammars.
       *
       * @example
       * ```
       * echo Carbon::now()->change('next 2pm');
       * ```
       *
       * @link https://php.net/manual/en/datetime.modify.php
       *
       * @param string $modifier
       *
       * @return static|false
       */
      public function change($modifier);
  
      /**
       * Cleanup properties attached to the public scope of DateTime when a dump of the date is requested.
       * foreach ($date as $_) {}
       * serializer($date)
       * var_export($date)
       * get_object_vars($date)
       */
      public function cleanupDumpProperties();
  
      /**
       * @alias copy
       *
       * Get a copy of the instance.
       *
       * @return static
       */
      public function clone();
  
      /**
       * Get the closest date from the instance (second-precision).
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
       *
       * @return static
       */
      public function closest($date1, $date2);
  
      /**
       * Get a copy of the instance.
       *
       * @return static
       */
      public function copy();
  
      /**
       * Create a new Carbon instance from a specific date and time.
       *
       * If any of $year, $month or $day are set to null their now() values will
       * be used.
       *
       * If $hour is null it will be set to its now() value and the default
       * values for $minute and $second will be their now() values.
       *
       * If $hour is not null then the default values for $minute and $second
       * will be 0.
       *
       * @param DateTimeInterface|int|null $year
       * @param int|null                   $month
       * @param int|null                   $day
       * @param int|null                   $hour
       * @param int|null                   $minute
       * @param int|null                   $second
       * @param DateTimeZone|string|null   $tz
       *
       * @throws InvalidFormatException
       *
       * @return static|false
       */
      public static function create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null);
  
      /**
       * Create a Carbon instance from just a date. The time portion is set to now.
       *
       * @param int|null                 $year
       * @param int|null                 $month
       * @param int|null                 $day
       * @param DateTimeZone|string|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function createFromDate($year = null, $month = null, $day = null, $tz = null);
  
      /**
       * Create a Carbon instance from a specific format.
       *
       * @param string                         $format Datetime format
       * @param string                         $time
       * @param DateTimeZone|string|false|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static|false
       */
      #[ReturnTypeWillChange]
      public static function createFromFormat($format, $time, $tz = null);
  
      /**
       * Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
       *
       * @param string                                             $format     Datetime format
       * @param string                                             $time
       * @param DateTimeZone|string|false|null                     $tz         optional timezone
       * @param string|null                                        $locale     locale to be used for LTS, LT, LL, LLL, etc. macro-formats (en by fault, unneeded if no such macro-format in use)
       * @param \Symfony\Component\Translation\TranslatorInterface $translator optional custom translator to use for macro-formats
       *
       * @throws InvalidFormatException
       *
       * @return static|false
       */
      public static function createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null);
  
      /**
       * Create a Carbon instance from a specific format and a string in a given language.
       *
       * @param string                         $format Datetime format
       * @param string                         $locale
       * @param string                         $time
       * @param DateTimeZone|string|false|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static|false
       */
      public static function createFromLocaleFormat($format, $locale, $time, $tz = null);
  
      /**
       * Create a Carbon instance from a specific ISO format and a string in a given language.
       *
       * @param string                         $format Datetime ISO format
       * @param string                         $locale
       * @param string                         $time
       * @param DateTimeZone|string|false|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static|false
       */
      public static function createFromLocaleIsoFormat($format, $locale, $time, $tz = null);
  
      /**
       * Create a Carbon instance from just a time. The date portion is set to today.
       *
       * @param int|null                 $hour
       * @param int|null                 $minute
       * @param int|null                 $second
       * @param DateTimeZone|string|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null);
  
      /**
       * Create a Carbon instance from a time string. The date portion is set to today.
       *
       * @param string                   $time
       * @param DateTimeZone|string|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function createFromTimeString($time, $tz = null);
  
      /**
       * Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
       *
       * Timestamp input can be given as int, float or a string containing one or more numbers.
       *
       * @param float|int|string          $timestamp
       * @param \DateTimeZone|string|null $tz
       *
       * @return static
       */
      public static function createFromTimestamp($timestamp, $tz = null);
  
      /**
       * Create a Carbon instance from a timestamp in milliseconds.
       *
       * Timestamp input can be given as int, float or a string containing one or more numbers.
       *
       * @param float|int|string          $timestamp
       * @param \DateTimeZone|string|null $tz
       *
       * @return static
       */
      public static function createFromTimestampMs($timestamp, $tz = null);
  
      /**
       * Create a Carbon instance from a timestamp in milliseconds.
       *
       * Timestamp input can be given as int, float or a string containing one or more numbers.
       *
       * @param float|int|string $timestamp
       *
       * @return static
       */
      public static function createFromTimestampMsUTC($timestamp);
  
      /**
       * Create a Carbon instance from an timestamp keeping the timezone to UTC.
       *
       * Timestamp input can be given as int, float or a string containing one or more numbers.
       *
       * @param float|int|string $timestamp
       *
       * @return static
       */
      public static function createFromTimestampUTC($timestamp);
  
      /**
       * Create a Carbon instance from just a date. The time portion is set to midnight.
       *
       * @param int|null                 $year
       * @param int|null                 $month
       * @param int|null                 $day
       * @param DateTimeZone|string|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function createMidnightDate($year = null, $month = null, $day = null, $tz = null);
  
      /**
       * Create a new safe Carbon instance from a specific date and time.
       *
       * If any of $year, $month or $day are set to null their now() values will
       * be used.
       *
       * If $hour is null it will be set to its now() value and the default
       * values for $minute and $second will be their now() values.
       *
       * If $hour is not null then the default values for $minute and $second
       * will be 0.
       *
       * If one of the set values is not valid, an InvalidDateException
       * will be thrown.
       *
       * @param int|null                 $year
       * @param int|null                 $month
       * @param int|null                 $day
       * @param int|null                 $hour
       * @param int|null                 $minute
       * @param int|null                 $second
       * @param DateTimeZone|string|null $tz
       *
       * @throws InvalidDateException
       *
       * @return static|false
       */
      public static function createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null);
  
      /**
       * Create a new Carbon instance from a specific date and time using strict validation.
       *
       * @see create()
       *
       * @param int|null                 $year
       * @param int|null                 $month
       * @param int|null                 $day
       * @param int|null                 $hour
       * @param int|null                 $minute
       * @param int|null                 $second
       * @param DateTimeZone|string|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null);
  
      /**
       * Get/set the day of year.
       *
       * @param int|null $value new value for day of year if using as setter.
       *
       * @return static|int
       */
      public function dayOfYear($value = null);
  
      /**
       * Get the difference as a CarbonInterval instance.
       * Return relative interval (negative if $absolute flag is not set to true and the given date is before
       * current one).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return CarbonInterval
       */
      public function diffAsCarbonInterval($date = null, $absolute = true, array $skip = []);
  
      /**
       * Get the difference by the given interval using a filter closure.
       *
       * @param CarbonInterval                                         $ci       An interval to traverse by
       * @param Closure                                                $callback
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffFiltered(CarbonInterval $ci, Closure $callback, $date = null, $absolute = true);
  
      /**
       * Get the difference in a human readable format in the current locale from current instance to an other
       * instance given (or now if null given).
       *
       * @example
       * ```
       * echo Carbon::tomorrow()->diffForHumans() . "
  ";
       * echo Carbon::tomorrow()->diffForHumans(['parts' => 2]) . "
  ";
       * echo Carbon::tomorrow()->diffForHumans(['parts' => 3, 'join' => true]) . "
  ";
       * echo Carbon::tomorrow()->diffForHumans(Carbon::yesterday()) . "
  ";
       * echo Carbon::tomorrow()->diffForHumans(Carbon::yesterday(), ['short' => true]) . "
  ";
       * ```
       *
       * @param Carbon|\DateTimeInterface|string|array|null $other   if array passed, will be used as parameters array, see $syntax below;
       *                                                             if null passed, now will be used as comparison reference;
       *                                                             if any other type, it will be converted to date and used as reference.
       * @param int|array                                   $syntax  if array passed, parameters will be extracted from it, the array may contains:
       *                                                             - 'syntax' entry (see below)
       *                                                             - 'short' entry (see below)
       *                                                             - 'parts' entry (see below)
       *                                                             - 'options' entry (see below)
       *                                                             - 'skip' entry, list of units to skip (array of strings or a single string,
       *                                                             ` it can be the unit name (singular or plural) or its shortcut
       *                                                             ` (y, m, w, d, h, min, s, ms, µs).
       *                                                             - 'aUnit' entry, prefer "an hour" over "1 hour" if true
       *                                                             - 'join' entry determines how to join multiple parts of the string
       *                                                             `  - if $join is a string, it's used as a joiner glue
       *                                                             `  - if $join is a callable/closure, it get the list of string and should return a string
       *                                                             `  - if $join is an array, the first item will be the default glue, and the second item
       *                                                             `    will be used instead of the glue for the last item
       *                                                             `  - if $join is true, it will be guessed from the locale ('list' translation file entry)
       *                                                             `  - if $join is missing, a space will be used as glue
       *                                                             - 'other' entry (see above)
       *                                                             - 'minimumUnit' entry determines the smallest unit of time to display can be long or
       *                                                             `  short form of the units, e.g. 'hour' or 'h' (default value: s)
       *                                                             if int passed, it add modifiers:
       *                                                             Possible values:
       *                                                             - CarbonInterface::DIFF_ABSOLUTE          no modifiers
       *                                                             - CarbonInterface::DIFF_RELATIVE_TO_NOW   add ago/from now modifier
       *                                                             - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
       *                                                             Default value: CarbonInterface::DIFF_ABSOLUTE
       * @param bool                                        $short   displays short format of time units
       * @param int                                         $parts   maximum number of parts to display (default value: 1: single unit)
       * @param int                                         $options human diff options
       *
       * @return string
       */
      public function diffForHumans($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
  
      /**
       * Get the difference in days rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInDays($date = null, $absolute = true);
  
      /**
       * Get the difference in days using a filter closure rounded down.
       *
       * @param Closure                                                $callback
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInDaysFiltered(Closure $callback, $date = null, $absolute = true);
  
      /**
       * Get the difference in hours rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInHours($date = null, $absolute = true);
  
      /**
       * Get the difference in hours using a filter closure rounded down.
       *
       * @param Closure                                                $callback
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInHoursFiltered(Closure $callback, $date = null, $absolute = true);
  
      /**
       * Get the difference in microseconds.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInMicroseconds($date = null, $absolute = true);
  
      /**
       * Get the difference in milliseconds rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInMilliseconds($date = null, $absolute = true);
  
      /**
       * Get the difference in minutes rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInMinutes($date = null, $absolute = true);
  
      /**
       * Get the difference in months rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInMonths($date = null, $absolute = true);
  
      /**
       * Get the difference in quarters rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInQuarters($date = null, $absolute = true);
  
      /**
       * Get the difference in hours rounded down using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInRealHours($date = null, $absolute = true);
  
      /**
       * Get the difference in microseconds using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInRealMicroseconds($date = null, $absolute = true);
  
      /**
       * Get the difference in milliseconds rounded down using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInRealMilliseconds($date = null, $absolute = true);
  
      /**
       * Get the difference in minutes rounded down using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInRealMinutes($date = null, $absolute = true);
  
      /**
       * Get the difference in seconds using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInRealSeconds($date = null, $absolute = true);
  
      /**
       * Get the difference in seconds rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInSeconds($date = null, $absolute = true);
  
      /**
       * Get the difference in weekdays rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInWeekdays($date = null, $absolute = true);
  
      /**
       * Get the difference in weekend days using a filter rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInWeekendDays($date = null, $absolute = true);
  
      /**
       * Get the difference in weeks rounded down.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInWeeks($date = null, $absolute = true);
  
      /**
       * Get the difference in years
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return int
       */
      public function diffInYears($date = null, $absolute = true);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use the ->settings() method.
       * @see settings
       *
       * @param int $humanDiffOption
       */
      public static function disableHumanDiffOption($humanDiffOption);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use the ->settings() method.
       * @see settings
       *
       * @param int $humanDiffOption
       */
      public static function enableHumanDiffOption($humanDiffOption);
  
      /**
       * Modify to end of current given unit.
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16.334455')
       *   ->startOf('month')
       *   ->endOf('week', Carbon::FRIDAY);
       * ```
       *
       * @param string            $unit
       * @param array<int, mixed> $params
       *
       * @return static
       */
      public function endOf($unit, ...$params);
  
      /**
       * Resets the date to end of the century and time to 23:59:59.999999
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfCentury();
       * ```
       *
       * @return static
       */
      public function endOfCentury();
  
      /**
       * Resets the time to 23:59:59.999999 end of day
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfDay();
       * ```
       *
       * @return static
       */
      public function endOfDay();
  
      /**
       * Resets the date to end of the decade and time to 23:59:59.999999
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfDecade();
       * ```
       *
       * @return static
       */
      public function endOfDecade();
  
      /**
       * Modify to end of current hour, minutes and seconds become 59
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfHour();
       * ```
       *
       * @return static
       */
      public function endOfHour();
  
      /**
       * Resets the date to end of the millennium and time to 23:59:59.999999
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfMillennium();
       * ```
       *
       * @return static
       */
      public function endOfMillennium();
  
      /**
       * Modify to end of current minute, seconds become 59
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfMinute();
       * ```
       *
       * @return static
       */
      public function endOfMinute();
  
      /**
       * Resets the date to end of the month and time to 23:59:59.999999
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfMonth();
       * ```
       *
       * @return static
       */
      public function endOfMonth();
  
      /**
       * Resets the date to end of the quarter and time to 23:59:59.999999
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfQuarter();
       * ```
       *
       * @return static
       */
      public function endOfQuarter();
  
      /**
       * Modify to end of current second, microseconds become 999999
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16.334455')
       *   ->endOfSecond()
       *   ->format('H:i:s.u');
       * ```
       *
       * @return static
       */
      public function endOfSecond();
  
      /**
       * Resets the date to end of week (defined in $weekEndsAt) and time to 23:59:59.999999
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfWeek() . "
  ";
       * echo Carbon::parse('2018-07-25 12:45:16')->locale('ar')->endOfWeek() . "
  ";
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfWeek(Carbon::SATURDAY) . "
  ";
       * ```
       *
       * @param int $weekEndsAt optional start allow you to specify the day of week to use to end the week
       *
       * @return static
       */
      public function endOfWeek($weekEndsAt = null);
  
      /**
       * Resets the date to end of the year and time to 23:59:59.999999
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->endOfYear();
       * ```
       *
       * @return static
       */
      public function endOfYear();
  
      /**
       * Determines if the instance is equal to another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:16'); // true
       * Carbon::parse('2018-07-25 12:45:16')->eq(Carbon::parse('2018-07-25 12:45:16')); // true
       * Carbon::parse('2018-07-25 12:45:16')->eq('2018-07-25 12:45:17'); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see equalTo()
       *
       * @return bool
       */
      public function eq($date): bool;
  
      /**
       * Determines if the instance is equal to another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:16'); // true
       * Carbon::parse('2018-07-25 12:45:16')->equalTo(Carbon::parse('2018-07-25 12:45:16')); // true
       * Carbon::parse('2018-07-25 12:45:16')->equalTo('2018-07-25 12:45:17'); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @return bool
       */
      public function equalTo($date): bool;
  
      /**
       * Set the current locale to the given, execute the passed function, reset the locale to previous one,
       * then return the result of the closure (or null if the closure was void).
       *
       * @param string   $locale locale ex. en
       * @param callable $func
       *
       * @return mixed
       */
      public static function executeWithLocale($locale, $func);
  
      /**
       * Get the farthest date from the instance (second-precision).
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
       *
       * @return static
       */
      public function farthest($date1, $date2);
  
      /**
       * Modify to the first occurrence of a given day of the week
       * in the current month. If no dayOfWeek is provided, modify to the
       * first day of the current month.  Use the supplied constants
       * to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int|null $dayOfWeek
       *
       * @return static
       */
      public function firstOfMonth($dayOfWeek = null);
  
      /**
       * Modify to the first occurrence of a given day of the week
       * in the current quarter. If no dayOfWeek is provided, modify to the
       * first day of the current quarter.  Use the supplied constants
       * to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int|null $dayOfWeek day of the week default null
       *
       * @return static
       */
      public function firstOfQuarter($dayOfWeek = null);
  
      /**
       * Modify to the first occurrence of a given day of the week
       * in the current year. If no dayOfWeek is provided, modify to the
       * first day of the current year.  Use the supplied constants
       * to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int|null $dayOfWeek day of the week default null
       *
       * @return static
       */
      public function firstOfYear($dayOfWeek = null);
  
      /**
       * Get the difference in days as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInDays($date = null, $absolute = true);
  
      /**
       * Get the difference in hours as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInHours($date = null, $absolute = true);
  
      /**
       * Get the difference in minutes as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInMinutes($date = null, $absolute = true);
  
      /**
       * Get the difference in months as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInMonths($date = null, $absolute = true);
  
      /**
       * Get the difference in days as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInRealDays($date = null, $absolute = true);
  
      /**
       * Get the difference in hours as float (microsecond-precision) using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInRealHours($date = null, $absolute = true);
  
      /**
       * Get the difference in minutes as float (microsecond-precision) using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInRealMinutes($date = null, $absolute = true);
  
      /**
       * Get the difference in months as float (microsecond-precision) using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInRealMonths($date = null, $absolute = true);
  
      /**
       * Get the difference in seconds as float (microsecond-precision) using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInRealSeconds($date = null, $absolute = true);
  
      /**
       * Get the difference in weeks as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInRealWeeks($date = null, $absolute = true);
  
      /**
       * Get the difference in year as float (microsecond-precision) using timestamps.
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInRealYears($date = null, $absolute = true);
  
      /**
       * Get the difference in seconds as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInSeconds($date = null, $absolute = true);
  
      /**
       * Get the difference in weeks as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInWeeks($date = null, $absolute = true);
  
      /**
       * Get the difference in year as float (microsecond-precision).
       *
       * @param \Carbon\CarbonInterface|\DateTimeInterface|string|null $date
       * @param bool                                                   $absolute Get the absolute of the difference
       *
       * @return float
       */
      public function floatDiffInYears($date = null, $absolute = true);
  
      /**
       * Round the current instance second with given precision if specified.
       *
       * @param float|int|string|\DateInterval|null $precision
       *
       * @return CarbonInterface
       */
      public function floor($precision = 1);
  
      /**
       * Truncate the current instance at the given unit with given precision if specified.
       *
       * @param string    $unit
       * @param float|int $precision
       *
       * @return CarbonInterface
       */
      public function floorUnit($unit, $precision = 1);
  
      /**
       * Truncate the current instance week.
       *
       * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
       *
       * @return CarbonInterface
       */
      public function floorWeek($weekStartsAt = null);
  
      /**
       * Format the instance with the current locale.  You can set the current
       * locale using setlocale() https://php.net/setlocale.
       *
       * @deprecated It uses OS language package and strftime() which is deprecated since PHP 8.1.
       *             Use ->isoFormat() instead.
       *             Deprecated since 2.55.0
       *
       * @param string $format
       *
       * @return string
       */
      public function formatLocalized($format);
  
      /**
       * @alias diffForHumans
       *
       * Get the difference in a human readable format in the current locale from current instance to an other
       * instance given (or now if null given).
       *
       * @param Carbon|\DateTimeInterface|string|array|null $other   if array passed, will be used as parameters array, see $syntax below;
       *                                                             if null passed, now will be used as comparison reference;
       *                                                             if any other type, it will be converted to date and used as reference.
       * @param int|array                                   $syntax  if array passed, parameters will be extracted from it, the array may contains:
       *                                                             - 'syntax' entry (see below)
       *                                                             - 'short' entry (see below)
       *                                                             - 'parts' entry (see below)
       *                                                             - 'options' entry (see below)
       *                                                             - 'join' entry determines how to join multiple parts of the string
       *                                                             `  - if $join is a string, it's used as a joiner glue
       *                                                             `  - if $join is a callable/closure, it get the list of string and should return a string
       *                                                             `  - if $join is an array, the first item will be the default glue, and the second item
       *                                                             `    will be used instead of the glue for the last item
       *                                                             `  - if $join is true, it will be guessed from the locale ('list' translation file entry)
       *                                                             `  - if $join is missing, a space will be used as glue
       *                                                             - 'other' entry (see above)
       *                                                             if int passed, it add modifiers:
       *                                                             Possible values:
       *                                                             - CarbonInterface::DIFF_ABSOLUTE          no modifiers
       *                                                             - CarbonInterface::DIFF_RELATIVE_TO_NOW   add ago/from now modifier
       *                                                             - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
       *                                                             Default value: CarbonInterface::DIFF_ABSOLUTE
       * @param bool                                        $short   displays short format of time units
       * @param int                                         $parts   maximum number of parts to display (default value: 1: single unit)
       * @param int                                         $options human diff options
       *
       * @return string
       */
      public function from($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
  
      /**
       * Get the difference in a human readable format in the current locale from current
       * instance to now.
       *
       * @param int|array $syntax  if array passed, parameters will be extracted from it, the array may contains:
       *                           - 'syntax' entry (see below)
       *                           - 'short' entry (see below)
       *                           - 'parts' entry (see below)
       *                           - 'options' entry (see below)
       *                           - 'join' entry determines how to join multiple parts of the string
       *                           `  - if $join is a string, it's used as a joiner glue
       *                           `  - if $join is a callable/closure, it get the list of string and should return a string
       *                           `  - if $join is an array, the first item will be the default glue, and the second item
       *                           `    will be used instead of the glue for the last item
       *                           `  - if $join is true, it will be guessed from the locale ('list' translation file entry)
       *                           `  - if $join is missing, a space will be used as glue
       *                           if int passed, it add modifiers:
       *                           Possible values:
       *                           - CarbonInterface::DIFF_ABSOLUTE          no modifiers
       *                           - CarbonInterface::DIFF_RELATIVE_TO_NOW   add ago/from now modifier
       *                           - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
       *                           Default value: CarbonInterface::DIFF_ABSOLUTE
       * @param bool      $short   displays short format of time units
       * @param int       $parts   maximum number of parts to display (default value: 1: single unit)
       * @param int       $options human diff options
       *
       * @return string
       */
      public function fromNow($syntax = null, $short = false, $parts = 1, $options = null);
  
      /**
       * Create an instance from a serialized string.
       *
       * @param string $value
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function fromSerialized($value);
  
      /**
       * Register a custom macro.
       *
       * @param object|callable $macro
       * @param int             $priority marco with higher priority is tried first
       *
       * @return void
       */
      public static function genericMacro($macro, $priority = 0);
  
      /**
       * Get a part of the Carbon object
       *
       * @param string $name
       *
       * @throws UnknownGetterException
       *
       * @return string|int|bool|DateTimeZone|null
       */
      public function get($name);
  
      /**
       * Returns the alternative number for a given date property if available in the current locale.
       *
       * @param string $key date property
       *
       * @return string
       */
      public function getAltNumber(string $key): string;
  
      /**
       * Returns the list of internally available locales and already loaded custom locales.
       * (It will ignore custom translator dynamic loading.)
       *
       * @return array
       */
      public static function getAvailableLocales();
  
      /**
       * Returns list of Language object for each available locale. This object allow you to get the ISO name, native
       * name, region and variant of the locale.
       *
       * @return Language[]
       */
      public static function getAvailableLocalesInfo();
  
      /**
       * Returns list of calendar formats for ISO formatting.
       *
       * @param string|null $locale current locale used if null
       *
       * @return array
       */
      public function getCalendarFormats($locale = null);
  
      /**
       * Get the days of the week
       *
       * @return array
       */
      public static function getDays();
  
      /**
       * Return the number of days since the start of the week (using the current locale or the first parameter
       * if explicitly given).
       *
       * @param int|null $weekStartsAt optional start allow you to specify the day of week to use to start the week,
       *                               if not provided, start of week is inferred from the locale
       *                               (Sunday for en_US, Monday for de_DE, etc.)
       *
       * @return int
       */
      public function getDaysFromStartOfWeek(?int $weekStartsAt = null): int;
  
      /**
       * Get the fallback locale.
       *
       * @see https://symfony.com/doc/current/components/translation.html#fallback-locales
       *
       * @return string|null
       */
      public static function getFallbackLocale();
  
      /**
       * List of replacements from date() format to isoFormat().
       *
       * @return array
       */
      public static function getFormatsToIsoReplacements();
  
      /**
       * Return default humanDiff() options (merged flags as integer).
       *
       * @return int
       */
      public static function getHumanDiffOptions();
  
      /**
       * Returns list of locale formats for ISO formatting.
       *
       * @param string|null $locale current locale used if null
       *
       * @return array
       */
      public function getIsoFormats($locale = null);
  
      /**
       * Returns list of locale units for ISO formatting.
       *
       * @return array
       */
      public static function getIsoUnits();
  
      /**
       * {@inheritdoc}
       *
       * @return array
       */
      #[ReturnTypeWillChange]
      public static function getLastErrors();
  
      /**
       * Get the raw callable macro registered globally or locally for a given name.
       *
       * @param string $name
       *
       * @return callable|null
       */
      public function getLocalMacro($name);
  
      /**
       * Get the translator of the current instance or the default if none set.
       *
       * @return \Symfony\Component\Translation\TranslatorInterface
       */
      public function getLocalTranslator();
  
      /**
       * Get the current translator locale.
       *
       * @return string
       */
      public static function getLocale();
  
      /**
       * Get the raw callable macro registered globally for a given name.
       *
       * @param string $name
       *
       * @return callable|null
       */
      public static function getMacro($name);
  
      /**
       * get midday/noon hour
       *
       * @return int
       */
      public static function getMidDayAt();
  
      /**
       * Returns the offset hour and minute formatted with +/- and a given separator (":" by default).
       * For example, if the time zone is 9 hours 30 minutes, you'll get "+09:30", with "@@" as first
       * argument, "+09@@30", with "" as first argument, "+0930". Negative offset will return something
       * like "-12:00".
       *
       * @param string $separator string to place between hours and minutes (":" by default)
       *
       * @return string
       */
      public function getOffsetString($separator = ':');
  
      /**
       * Returns a unit of the instance padded with 0 by default or any other string if specified.
       *
       * @param string $unit      Carbon unit name
       * @param int    $length    Length of the output (2 by default)
       * @param string $padString String to use for padding ("0" by default)
       * @param int    $padType   Side(s) to pad (STR_PAD_LEFT by default)
       *
       * @return string
       */
      public function getPaddedUnit($unit, $length = 2, $padString = '0', $padType = 0);
  
      /**
       * Returns a timestamp rounded with the given precision (6 by default).
       *
       * @example getPreciseTimestamp()   1532087464437474 (microsecond maximum precision)
       * @example getPreciseTimestamp(6)  1532087464437474
       * @example getPreciseTimestamp(5)  153208746443747  (1/100000 second precision)
       * @example getPreciseTimestamp(4)  15320874644375   (1/10000 second precision)
       * @example getPreciseTimestamp(3)  1532087464437    (millisecond precision)
       * @example getPreciseTimestamp(2)  153208746444     (1/100 second precision)
       * @example getPreciseTimestamp(1)  15320874644      (1/10 second precision)
       * @example getPreciseTimestamp(0)  1532087464       (second precision)
       * @example getPreciseTimestamp(-1) 153208746        (10 second precision)
       * @example getPreciseTimestamp(-2) 15320875         (100 second precision)
       *
       * @param int $precision
       *
       * @return float
       */
      public function getPreciseTimestamp($precision = 6);
  
      /**
       * Returns current local settings.
       *
       * @return array
       */
      public function getSettings();
  
      /**
       * Get the Carbon instance (real or mock) to be returned when a "now"
       * instance is created.
       *
       * @return Closure|static the current instance used for testing
       */
      public static function getTestNow();
  
      /**
       * Return a format from H:i to H:i:s.u according to given unit precision.
       *
       * @param string $unitPrecision "minute", "second", "millisecond" or "microsecond"
       *
       * @return string
       */
      public static function getTimeFormatByPrecision($unitPrecision);
  
      /**
       * Returns the timestamp with millisecond precision.
       *
       * @return int
       */
      public function getTimestampMs();
  
      /**
       * Get the translation of the current week day name (with context for languages with multiple forms).
       *
       * @param string|null $context      whole format string
       * @param string      $keySuffix    "", "_short" or "_min"
       * @param string|null $defaultValue default value if translation missing
       *
       * @return string
       */
      public function getTranslatedDayName($context = null, $keySuffix = '', $defaultValue = null);
  
      /**
       * Get the translation of the current abbreviated week day name (with context for languages with multiple forms).
       *
       * @param string|null $context whole format string
       *
       * @return string
       */
      public function getTranslatedMinDayName($context = null);
  
      /**
       * Get the translation of the current month day name (with context for languages with multiple forms).
       *
       * @param string|null $context      whole format string
       * @param string      $keySuffix    "" or "_short"
       * @param string|null $defaultValue default value if translation missing
       *
       * @return string
       */
      public function getTranslatedMonthName($context = null, $keySuffix = '', $defaultValue = null);
  
      /**
       * Get the translation of the current short week day name (with context for languages with multiple forms).
       *
       * @param string|null $context whole format string
       *
       * @return string
       */
      public function getTranslatedShortDayName($context = null);
  
      /**
       * Get the translation of the current short month day name (with context for languages with multiple forms).
       *
       * @param string|null $context whole format string
       *
       * @return string
       */
      public function getTranslatedShortMonthName($context = null);
  
      /**
       * Returns raw translation message for a given key.
       *
       * @param string                                             $key        key to find
       * @param string|null                                        $locale     current locale used if null
       * @param string|null                                        $default    default value if translation returns the key
       * @param \Symfony\Component\Translation\TranslatorInterface $translator an optional translator to use
       *
       * @return string
       */
      public function getTranslationMessage(string $key, ?string $locale = null, ?string $default = null, $translator = null);
  
      /**
       * Returns raw translation message for a given key.
       *
       * @param \Symfony\Component\Translation\TranslatorInterface $translator the translator to use
       * @param string                                             $key        key to find
       * @param string|null                                        $locale     current locale used if null
       * @param string|null                                        $default    default value if translation returns the key
       *
       * @return string
       */
      public static function getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null);
  
      /**
       * Get the default translator instance in use.
       *
       * @return \Symfony\Component\Translation\TranslatorInterface
       */
      public static function getTranslator();
  
      /**
       * Get the last day of week
       *
       * @return int
       */
      public static function getWeekEndsAt();
  
      /**
       * Get the first day of week
       *
       * @return int
       */
      public static function getWeekStartsAt();
  
      /**
       * Get weekend days
       *
       * @return array
       */
      public static function getWeekendDays();
  
      /**
       * Determines if the instance is greater (after) than another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:15'); // true
       * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:16'); // false
       * Carbon::parse('2018-07-25 12:45:16')->greaterThan('2018-07-25 12:45:17'); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @return bool
       */
      public function greaterThan($date): bool;
  
      /**
       * Determines if the instance is greater (after) than or equal to another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:15'); // true
       * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:16'); // true
       * Carbon::parse('2018-07-25 12:45:16')->greaterThanOrEqualTo('2018-07-25 12:45:17'); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @return bool
       */
      public function greaterThanOrEqualTo($date): bool;
  
      /**
       * Determines if the instance is greater (after) than another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:15'); // true
       * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:16'); // false
       * Carbon::parse('2018-07-25 12:45:16')->gt('2018-07-25 12:45:17'); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see greaterThan()
       *
       * @return bool
       */
      public function gt($date): bool;
  
      /**
       * Determines if the instance is greater (after) than or equal to another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:15'); // true
       * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:16'); // true
       * Carbon::parse('2018-07-25 12:45:16')->gte('2018-07-25 12:45:17'); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see greaterThanOrEqualTo()
       *
       * @return bool
       */
      public function gte($date): bool;
  
      /**
       * Checks if the (date)time string is in a given format.
       *
       * @example
       * ```
       * Carbon::hasFormat('11:12:45', 'h:i:s'); // true
       * Carbon::hasFormat('13:12:45', 'h:i:s'); // false
       * ```
       *
       * @param string $date
       * @param string $format
       *
       * @return bool
       */
      public static function hasFormat($date, $format);
  
      /**
       * Checks if the (date)time string is in a given format.
       *
       * @example
       * ```
       * Carbon::hasFormatWithModifiers('31/08/2015', 'd#m#Y'); // true
       * Carbon::hasFormatWithModifiers('31/08/2015', 'm#d#Y'); // false
       * ```
       *
       * @param string $date
       * @param string $format
       *
       * @return bool
       */
      public static function hasFormatWithModifiers($date, $format): bool;
  
      /**
       * Checks if macro is registered globally or locally.
       *
       * @param string $name
       *
       * @return bool
       */
      public function hasLocalMacro($name);
  
      /**
       * Return true if the current instance has its own translator.
       *
       * @return bool
       */
      public function hasLocalTranslator();
  
      /**
       * Checks if macro is registered globally.
       *
       * @param string $name
       *
       * @return bool
       */
      public static function hasMacro($name);
  
      /**
       * Determine if a time string will produce a relative date.
       *
       * @param string $time
       *
       * @return bool true if time match a relative date, false if absolute or invalid time string
       */
      public static function hasRelativeKeywords($time);
  
      /**
       * Determine if there is a valid test instance set. A valid test instance
       * is anything that is not null.
       *
       * @return bool true if there is a test instance, otherwise false
       */
      public static function hasTestNow();
  
      /**
       * Create a Carbon instance from a DateTime one.
       *
       * @param DateTimeInterface $date
       *
       * @return static
       */
      public static function instance($date);
  
      /**
       * Returns true if the current date matches the given string.
       *
       * @example
       * ```
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019')); // true
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2018')); // false
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06')); // true
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('06-02')); // true
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('2019-06-02')); // true
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('Sunday')); // true
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('June')); // true
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23')); // true
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:45')); // true
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12:23:00')); // false
       * var_dump(Carbon::parse('2019-06-02 12:23:45')->is('12h')); // true
       * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3pm')); // true
       * var_dump(Carbon::parse('2019-06-02 15:23:45')->is('3am')); // false
       * ```
       *
       * @param string $tester day name, month name, hour, date, etc. as string
       *
       * @return bool
       */
      public function is(string $tester);
  
      /**
       * Determines if the instance is greater (after) than another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:15'); // true
       * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:16'); // false
       * Carbon::parse('2018-07-25 12:45:16')->isAfter('2018-07-25 12:45:17'); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see greaterThan()
       *
       * @return bool
       */
      public function isAfter($date): bool;
  
      /**
       * Determines if the instance is less (before) than another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:15'); // false
       * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:16'); // false
       * Carbon::parse('2018-07-25 12:45:16')->isBefore('2018-07-25 12:45:17'); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see lessThan()
       *
       * @return bool
       */
      public function isBefore($date): bool;
  
      /**
       * Determines if the instance is between two others
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25')->isBetween('2018-07-14', '2018-08-01'); // true
       * Carbon::parse('2018-07-25')->isBetween('2018-08-01', '2018-08-20'); // false
       * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01'); // true
       * Carbon::parse('2018-07-25')->isBetween('2018-07-25', '2018-08-01', false); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2
       * @param bool                                    $equal Indicates if an equal to comparison should be done
       *
       * @return bool
       */
      public function isBetween($date1, $date2, $equal = true): bool;
  
      /**
       * Check if its the birthday. Compares the date/month values of the two dates.
       *
       * @example
       * ```
       * Carbon::now()->subYears(5)->isBirthday(); // true
       * Carbon::now()->subYears(5)->subDay()->isBirthday(); // false
       * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-05')); // true
       * Carbon::parse('2019-06-05')->isBirthday(Carbon::parse('2001-06-06')); // false
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|null $date The instance to compare with or null to use current day.
       *
       * @return bool
       */
      public function isBirthday($date = null);
  
      /**
       * Determines if the instance is in the current unit given.
       *
       * @example
       * ```
       * Carbon::now()->isCurrentUnit('hour'); // true
       * Carbon::now()->subHours(2)->isCurrentUnit('hour'); // false
       * ```
       *
       * @param string $unit The unit to test.
       *
       * @throws BadMethodCallException
       *
       * @return bool
       */
      public function isCurrentUnit($unit);
  
      /**
       * Checks if this day is a specific day of the week.
       *
       * @example
       * ```
       * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::WEDNESDAY); // true
       * Carbon::parse('2019-07-17')->isDayOfWeek(Carbon::FRIDAY); // false
       * Carbon::parse('2019-07-17')->isDayOfWeek('Wednesday'); // true
       * Carbon::parse('2019-07-17')->isDayOfWeek('Friday'); // false
       * ```
       *
       * @param int $dayOfWeek
       *
       * @return bool
       */
      public function isDayOfWeek($dayOfWeek);
  
      /**
       * Check if the instance is end of day.
       *
       * @example
       * ```
       * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(); // true
       * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(); // true
       * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(); // true
       * Carbon::parse('2019-02-28 23:59:58.999999')->isEndOfDay(); // false
       * Carbon::parse('2019-02-28 23:59:59.999999')->isEndOfDay(true); // true
       * Carbon::parse('2019-02-28 23:59:59.123456')->isEndOfDay(true); // false
       * Carbon::parse('2019-02-28 23:59:59')->isEndOfDay(true); // false
       * ```
       *
       * @param bool $checkMicroseconds check time at microseconds precision
       *
       * @return bool
       */
      public function isEndOfDay($checkMicroseconds = false);
  
      /**
       * Returns true if the date was created using CarbonImmutable::endOfTime()
       *
       * @return bool
       */
      public function isEndOfTime(): bool;
  
      /**
       * Determines if the instance is in the future, ie. greater (after) than now.
       *
       * @example
       * ```
       * Carbon::now()->addHours(5)->isFuture(); // true
       * Carbon::now()->subHours(5)->isFuture(); // false
       * ```
       *
       * @return bool
       */
      public function isFuture();
  
      /**
       * Returns true if the current class/instance is immutable.
       *
       * @return bool
       */
      public static function isImmutable();
  
      /**
       * Check if today is the last day of the Month
       *
       * @example
       * ```
       * Carbon::parse('2019-02-28')->isLastOfMonth(); // true
       * Carbon::parse('2019-03-28')->isLastOfMonth(); // false
       * Carbon::parse('2019-03-30')->isLastOfMonth(); // false
       * Carbon::parse('2019-03-31')->isLastOfMonth(); // true
       * Carbon::parse('2019-04-30')->isLastOfMonth(); // true
       * ```
       *
       * @return bool
       */
      public function isLastOfMonth();
  
      /**
       * Determines if the instance is a leap year.
       *
       * @example
       * ```
       * Carbon::parse('2020-01-01')->isLeapYear(); // true
       * Carbon::parse('2019-01-01')->isLeapYear(); // false
       * ```
       *
       * @return bool
       */
      public function isLeapYear();
  
      /**
       * Determines if the instance is a long year (using ISO 8601 year).
       *
       * @example
       * ```
       * Carbon::parse('2015-01-01')->isLongIsoYear(); // true
       * Carbon::parse('2016-01-01')->isLongIsoYear(); // true
       * Carbon::parse('2016-01-03')->isLongIsoYear(); // false
       * Carbon::parse('2019-12-29')->isLongIsoYear(); // false
       * Carbon::parse('2019-12-30')->isLongIsoYear(); // true
       * ```
       *
       * @see https://en.wikipedia.org/wiki/ISO_8601#Week_dates
       *
       * @return bool
       */
      public function isLongIsoYear();
  
      /**
       * Determines if the instance is a long year (using calendar year).
       *
       * ⚠️ This method completely ignores month and day to use the numeric year number,
       * it's not correct if the exact date matters. For instance as `2019-12-30` is already
       * in the first week of the 2020 year, if you want to know from this date if ISO week
       * year 2020 is a long year, use `isLongIsoYear` instead.
       *
       * @example
       * ```
       * Carbon::create(2015)->isLongYear(); // true
       * Carbon::create(2016)->isLongYear(); // false
       * ```
       *
       * @see https://en.wikipedia.org/wiki/ISO_8601#Week_dates
       *
       * @return bool
       */
      public function isLongYear();
  
      /**
       * Check if the instance is midday.
       *
       * @example
       * ```
       * Carbon::parse('2019-02-28 11:59:59.999999')->isMidday(); // false
       * Carbon::parse('2019-02-28 12:00:00')->isMidday(); // true
       * Carbon::parse('2019-02-28 12:00:00.999999')->isMidday(); // true
       * Carbon::parse('2019-02-28 12:00:01')->isMidday(); // false
       * ```
       *
       * @return bool
       */
      public function isMidday();
  
      /**
       * Check if the instance is start of day / midnight.
       *
       * @example
       * ```
       * Carbon::parse('2019-02-28 00:00:00')->isMidnight(); // true
       * Carbon::parse('2019-02-28 00:00:00.999999')->isMidnight(); // true
       * Carbon::parse('2019-02-28 00:00:01')->isMidnight(); // false
       * ```
       *
       * @return bool
       */
      public function isMidnight();
  
      /**
       * Returns true if a property can be changed via setter.
       *
       * @param string $unit
       *
       * @return bool
       */
      public static function isModifiableUnit($unit);
  
      /**
       * Returns true if the current class/instance is mutable.
       *
       * @return bool
       */
      public static function isMutable();
  
      /**
       * Determines if the instance is in the past, ie. less (before) than now.
       *
       * @example
       * ```
       * Carbon::now()->subHours(5)->isPast(); // true
       * Carbon::now()->addHours(5)->isPast(); // false
       * ```
       *
       * @return bool
       */
      public function isPast();
  
      /**
       * Compares the formatted values of the two dates.
       *
       * @example
       * ```
       * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-12-13')); // true
       * Carbon::parse('2019-06-13')->isSameAs('Y-d', Carbon::parse('2019-06-14')); // false
       * ```
       *
       * @param string                                        $format date formats to compare.
       * @param \Carbon\Carbon|\DateTimeInterface|string|null $date   instance to compare with or null to use current day.
       *
       * @return bool
       */
      public function isSameAs($format, $date = null);
  
      /**
       * Checks if the passed in date is in the same month as the instance´s month.
       *
       * @example
       * ```
       * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-01-01')); // true
       * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2019-02-01')); // false
       * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01')); // false
       * Carbon::parse('2019-01-12')->isSameMonth(Carbon::parse('2018-01-01'), false); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|null $date       The instance to compare with or null to use the current date.
       * @param bool                                   $ofSameYear Check if it is the same month in the same year.
       *
       * @return bool
       */
      public function isSameMonth($date = null, $ofSameYear = true);
  
      /**
       * Checks if the passed in date is in the same quarter as the instance quarter (and year if needed).
       *
       * @example
       * ```
       * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-03-01')); // true
       * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2019-04-01')); // false
       * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01')); // false
       * Carbon::parse('2019-01-12')->isSameQuarter(Carbon::parse('2018-03-01'), false); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|string|null $date       The instance to compare with or null to use current day.
       * @param bool                                          $ofSameYear Check if it is the same month in the same year.
       *
       * @return bool
       */
      public function isSameQuarter($date = null, $ofSameYear = true);
  
      /**
       * Determines if the instance is in the current unit given.
       *
       * @example
       * ```
       * Carbon::parse('2019-01-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // true
       * Carbon::parse('2018-12-13')->isSameUnit('year', Carbon::parse('2019-12-25')); // false
       * ```
       *
       * @param string                                 $unit singular unit string
       * @param \Carbon\Carbon|\DateTimeInterface|null $date instance to compare with or null to use current day.
       *
       * @throws BadComparisonUnitException
       *
       * @return bool
       */
      public function isSameUnit($unit, $date = null);
  
      /**
       * Check if the instance is start of day / midnight.
       *
       * @example
       * ```
       * Carbon::parse('2019-02-28 00:00:00')->isStartOfDay(); // true
       * Carbon::parse('2019-02-28 00:00:00.999999')->isStartOfDay(); // true
       * Carbon::parse('2019-02-28 00:00:01')->isStartOfDay(); // false
       * Carbon::parse('2019-02-28 00:00:00.000000')->isStartOfDay(true); // true
       * Carbon::parse('2019-02-28 00:00:00.000012')->isStartOfDay(true); // false
       * ```
       *
       * @param bool $checkMicroseconds check time at microseconds precision
       *
       * @return bool
       */
      public function isStartOfDay($checkMicroseconds = false);
  
      /**
       * Returns true if the date was created using CarbonImmutable::startOfTime()
       *
       * @return bool
       */
      public function isStartOfTime(): bool;
  
      /**
       * Returns true if the strict mode is globally in use, false else.
       * (It can be overridden in specific instances.)
       *
       * @return bool
       */
      public static function isStrictModeEnabled();
  
      /**
       * Determines if the instance is today.
       *
       * @example
       * ```
       * Carbon::today()->isToday(); // true
       * Carbon::tomorrow()->isToday(); // false
       * ```
       *
       * @return bool
       */
      public function isToday();
  
      /**
       * Determines if the instance is tomorrow.
       *
       * @example
       * ```
       * Carbon::tomorrow()->isTomorrow(); // true
       * Carbon::yesterday()->isTomorrow(); // false
       * ```
       *
       * @return bool
       */
      public function isTomorrow();
  
      /**
       * Determines if the instance is a weekday.
       *
       * @example
       * ```
       * Carbon::parse('2019-07-14')->isWeekday(); // false
       * Carbon::parse('2019-07-15')->isWeekday(); // true
       * ```
       *
       * @return bool
       */
      public function isWeekday();
  
      /**
       * Determines if the instance is a weekend day.
       *
       * @example
       * ```
       * Carbon::parse('2019-07-14')->isWeekend(); // true
       * Carbon::parse('2019-07-15')->isWeekend(); // false
       * ```
       *
       * @return bool
       */
      public function isWeekend();
  
      /**
       * Determines if the instance is yesterday.
       *
       * @example
       * ```
       * Carbon::yesterday()->isYesterday(); // true
       * Carbon::tomorrow()->isYesterday(); // false
       * ```
       *
       * @return bool
       */
      public function isYesterday();
  
      /**
       * Format in the current language using ISO replacement patterns.
       *
       * @param string      $format
       * @param string|null $originalFormat provide context if a chunk has been passed alone
       *
       * @return string
       */
      public function isoFormat(string $format, ?string $originalFormat = null): string;
  
      /**
       * Get/set the week number using given first day of week and first
       * day of year included in the first week. Or use ISO format if no settings
       * given.
       *
       * @param int|null $week
       * @param int|null $dayOfWeek
       * @param int|null $dayOfYear
       *
       * @return int|static
       */
      public function isoWeek($week = null, $dayOfWeek = null, $dayOfYear = null);
  
      /**
       * Set/get the week number of year using given first day of week and first
       * day of year included in the first week. Or use ISO format if no settings
       * given.
       *
       * @param int|null $year      if null, act as a getter, if not null, set the year and return current instance.
       * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
       * @param int|null $dayOfYear first day of year included in the week #1
       *
       * @return int|static
       */
      public function isoWeekYear($year = null, $dayOfWeek = null, $dayOfYear = null);
  
      /**
       * Get/set the ISO weekday from 1 (Monday) to 7 (Sunday).
       *
       * @param int|null $value new value for weekday if using as setter.
       *
       * @return static|int
       */
      public function isoWeekday($value = null);
  
      /**
       * Get the number of weeks of the current week-year using given first day of week and first
       * day of year included in the first week. Or use ISO format if no settings
       * given.
       *
       * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
       * @param int|null $dayOfYear first day of year included in the week #1
       *
       * @return int
       */
      public function isoWeeksInYear($dayOfWeek = null, $dayOfYear = null);
  
      /**
       * Prepare the object for JSON serialization.
       *
       * @return array|string
       */
      #[ReturnTypeWillChange]
      public function jsonSerialize();
  
      /**
       * Modify to the last occurrence of a given day of the week
       * in the current month. If no dayOfWeek is provided, modify to the
       * last day of the current month.  Use the supplied constants
       * to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int|null $dayOfWeek
       *
       * @return static
       */
      public function lastOfMonth($dayOfWeek = null);
  
      /**
       * Modify to the last occurrence of a given day of the week
       * in the current quarter. If no dayOfWeek is provided, modify to the
       * last day of the current quarter.  Use the supplied constants
       * to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int|null $dayOfWeek day of the week default null
       *
       * @return static
       */
      public function lastOfQuarter($dayOfWeek = null);
  
      /**
       * Modify to the last occurrence of a given day of the week
       * in the current year. If no dayOfWeek is provided, modify to the
       * last day of the current year.  Use the supplied constants
       * to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int|null $dayOfWeek day of the week default null
       *
       * @return static
       */
      public function lastOfYear($dayOfWeek = null);
  
      /**
       * Determines if the instance is less (before) than another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:15'); // false
       * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:16'); // false
       * Carbon::parse('2018-07-25 12:45:16')->lessThan('2018-07-25 12:45:17'); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @return bool
       */
      public function lessThan($date): bool;
  
      /**
       * Determines if the instance is less (before) or equal to another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:15'); // false
       * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:16'); // true
       * Carbon::parse('2018-07-25 12:45:16')->lessThanOrEqualTo('2018-07-25 12:45:17'); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @return bool
       */
      public function lessThanOrEqualTo($date): bool;
  
      /**
       * Get/set the locale for the current instance.
       *
       * @param string|null $locale
       * @param string      ...$fallbackLocales
       *
       * @return $this|string
       */
      public function locale(?string $locale = null, ...$fallbackLocales);
  
      /**
       * Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
       * Support is considered enabled if the 3 words are translated in the given locale.
       *
       * @param string $locale locale ex. en
       *
       * @return bool
       */
      public static function localeHasDiffOneDayWords($locale);
  
      /**
       * Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
       * Support is considered enabled if the 4 sentences are translated in the given locale.
       *
       * @param string $locale locale ex. en
       *
       * @return bool
       */
      public static function localeHasDiffSyntax($locale);
  
      /**
       * Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
       * Support is considered enabled if the 2 words are translated in the given locale.
       *
       * @param string $locale locale ex. en
       *
       * @return bool
       */
      public static function localeHasDiffTwoDayWords($locale);
  
      /**
       * Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
       * Support is considered enabled if the 4 sentences are translated in the given locale.
       *
       * @param string $locale locale ex. en
       *
       * @return bool
       */
      public static function localeHasPeriodSyntax($locale);
  
      /**
       * Returns true if the given locale is internally supported and has short-units support.
       * Support is considered enabled if either year, day or hour has a short variant translated.
       *
       * @param string $locale locale ex. en
       *
       * @return bool
       */
      public static function localeHasShortUnits($locale);
  
      /**
       * Determines if the instance is less (before) than another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:15'); // false
       * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:16'); // false
       * Carbon::parse('2018-07-25 12:45:16')->lt('2018-07-25 12:45:17'); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see lessThan()
       *
       * @return bool
       */
      public function lt($date): bool;
  
      /**
       * Determines if the instance is less (before) or equal to another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:15'); // false
       * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:16'); // true
       * Carbon::parse('2018-07-25 12:45:16')->lte('2018-07-25 12:45:17'); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see lessThanOrEqualTo()
       *
       * @return bool
       */
      public function lte($date): bool;
  
      /**
       * Register a custom macro.
       *
       * @example
       * ```
       * $userSettings = [
       *   'locale' => 'pt',
       *   'timezone' => 'America/Sao_Paulo',
       * ];
       * Carbon::macro('userFormat', function () use ($userSettings) {
       *   return $this->copy()->locale($userSettings['locale'])->tz($userSettings['timezone'])->calendar();
       * });
       * echo Carbon::yesterday()->hours(11)->userFormat();
       * ```
       *
       * @param string          $name
       * @param object|callable $macro
       *
       * @return void
       */
      public static function macro($name, $macro);
  
      /**
       * Make a Carbon instance from given variable if possible.
       *
       * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
       * and recurrences). Throw an exception for invalid format, but otherwise return null.
       *
       * @param mixed $var
       *
       * @throws InvalidFormatException
       *
       * @return static|null
       */
      public static function make($var);
  
      /**
       * Get the maximum instance between a given instance (default now) and the current instance.
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @return static
       */
      public function max($date = null);
  
      /**
       * Create a Carbon instance for the greatest supported date.
       *
       * @return static
       */
      public static function maxValue();
  
      /**
       * Get the maximum instance between a given instance (default now) and the current instance.
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see max()
       *
       * @return static
       */
      public function maximum($date = null);
  
      /**
       * Return the meridiem of the current time in the current locale.
       *
       * @param bool $isLower if true, returns lowercase variant if available in the current locale.
       *
       * @return string
       */
      public function meridiem(bool $isLower = false): string;
  
      /**
       * Modify to midday, default to self::$midDayAt
       *
       * @return static
       */
      public function midDay();
  
      /**
       * Get the minimum instance between a given instance (default now) and the current instance.
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @return static
       */
      public function min($date = null);
  
      /**
       * Create a Carbon instance for the lowest supported date.
       *
       * @return static
       */
      public static function minValue();
  
      /**
       * Get the minimum instance between a given instance (default now) and the current instance.
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see min()
       *
       * @return static
       */
      public function minimum($date = null);
  
      /**
       * Mix another object into the class.
       *
       * @example
       * ```
       * Carbon::mixin(new class {
       *   public function addMoon() {
       *     return function () {
       *       return $this->addDays(30);
       *     };
       *   }
       *   public function subMoon() {
       *     return function () {
       *       return $this->subDays(30);
       *     };
       *   }
       * });
       * $fullMoon = Carbon::create('2018-12-22');
       * $nextFullMoon = $fullMoon->addMoon();
       * $blackMoon = Carbon::create('2019-01-06');
       * $previousBlackMoon = $blackMoon->subMoon();
       * echo "$nextFullMoon
  ";
       * echo "$previousBlackMoon
  ";
       * ```
       *
       * @param object|string $mixin
       *
       * @throws ReflectionException
       *
       * @return void
       */
      public static function mixin($mixin);
  
      /**
       * Calls \DateTime::modify if mutable or \DateTimeImmutable::modify else.
       *
       * @see https://php.net/manual/en/datetime.modify.php
       *
       * @return static|false
       */
      #[ReturnTypeWillChange]
      public function modify($modify);
  
      /**
       * Determines if the instance is not equal to another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:16'); // false
       * Carbon::parse('2018-07-25 12:45:16')->ne(Carbon::parse('2018-07-25 12:45:16')); // false
       * Carbon::parse('2018-07-25 12:45:16')->ne('2018-07-25 12:45:17'); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @see notEqualTo()
       *
       * @return bool
       */
      public function ne($date): bool;
  
      /**
       * Modify to the next occurrence of a given modifier such as a day of
       * the week. If no modifier is provided, modify to the next occurrence
       * of the current day of the week. Use the supplied constants
       * to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param string|int|null $modifier
       *
       * @return static|false
       */
      public function next($modifier = null);
  
      /**
       * Go forward to the next weekday.
       *
       * @return static
       */
      public function nextWeekday();
  
      /**
       * Go forward to the next weekend day.
       *
       * @return static
       */
      public function nextWeekendDay();
  
      /**
       * Determines if the instance is not equal to another
       *
       * @example
       * ```
       * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:16'); // false
       * Carbon::parse('2018-07-25 12:45:16')->notEqualTo(Carbon::parse('2018-07-25 12:45:16')); // false
       * Carbon::parse('2018-07-25 12:45:16')->notEqualTo('2018-07-25 12:45:17'); // true
       * ```
       *
       * @param \Carbon\Carbon|\DateTimeInterface|mixed $date
       *
       * @return bool
       */
      public function notEqualTo($date): bool;
  
      /**
       * Get a Carbon instance for the current date and time.
       *
       * @param DateTimeZone|string|null $tz
       *
       * @return static
       */
      public static function now($tz = null);
  
      /**
       * Returns a present instance in the same timezone.
       *
       * @return static
       */
      public function nowWithSameTz();
  
      /**
       * Modify to the given occurrence of a given day of the week
       * in the current month. If the calculated occurrence is outside the scope
       * of the current month, then return false and no modifications are made.
       * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int $nth
       * @param int $dayOfWeek
       *
       * @return mixed
       */
      public function nthOfMonth($nth, $dayOfWeek);
  
      /**
       * Modify to the given occurrence of a given day of the week
       * in the current quarter. If the calculated occurrence is outside the scope
       * of the current quarter, then return false and no modifications are made.
       * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int $nth
       * @param int $dayOfWeek
       *
       * @return mixed
       */
      public function nthOfQuarter($nth, $dayOfWeek);
  
      /**
       * Modify to the given occurrence of a given day of the week
       * in the current year. If the calculated occurrence is outside the scope
       * of the current year, then return false and no modifications are made.
       * Use the supplied constants to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param int $nth
       * @param int $dayOfWeek
       *
       * @return mixed
       */
      public function nthOfYear($nth, $dayOfWeek);
  
      /**
       * Return a property with its ordinal.
       *
       * @param string      $key
       * @param string|null $period
       *
       * @return string
       */
      public function ordinal(string $key, ?string $period = null): string;
  
      /**
       * Create a carbon instance from a string.
       *
       * This is an alias for the constructor that allows better fluent syntax
       * as it allows you to do Carbon::parse('Monday next week')->fn() rather
       * than (new Carbon('Monday next week'))->fn().
       *
       * @param string|DateTimeInterface|null $time
       * @param DateTimeZone|string|null      $tz
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function parse($time = null, $tz = null);
  
      /**
       * Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
       *
       * @param string                   $time   date/time string in the given language (may also contain English).
       * @param string|null              $locale if locale is null or not specified, current global locale will be
       *                                         used instead.
       * @param DateTimeZone|string|null $tz     optional timezone for the new instance.
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function parseFromLocale($time, $locale = null, $tz = null);
  
      /**
       * Returns standardized plural of a given singular/plural unit name (in English).
       *
       * @param string $unit
       *
       * @return string
       */
      public static function pluralUnit(string $unit): string;
  
      /**
       * Modify to the previous occurrence of a given modifier such as a day of
       * the week. If no dayOfWeek is provided, modify to the previous occurrence
       * of the current day of the week. Use the supplied constants
       * to indicate the desired dayOfWeek, ex. static::MONDAY.
       *
       * @param string|int|null $modifier
       *
       * @return static|false
       */
      public function previous($modifier = null);
  
      /**
       * Go backward to the previous weekday.
       *
       * @return static
       */
      public function previousWeekday();
  
      /**
       * Go backward to the previous weekend day.
       *
       * @return static
       */
      public function previousWeekendDay();
  
      /**
       * Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
       *
       * @param \DateTimeInterface|Carbon|CarbonImmutable|null $end      period end date
       * @param int|\DateInterval|string|null                  $interval period default interval or number of the given $unit
       * @param string|null                                    $unit     if specified, $interval must be an integer
       *
       * @return CarbonPeriod
       */
      public function range($end = null, $interval = null, $unit = null);
  
      /**
       * Call native PHP DateTime/DateTimeImmutable add() method.
       *
       * @param DateInterval $interval
       *
       * @return static
       */
      public function rawAdd(DateInterval $interval);
  
      /**
       * Create a Carbon instance from a specific format.
       *
       * @param string                         $format Datetime format
       * @param string                         $time
       * @param DateTimeZone|string|false|null $tz
       *
       * @throws InvalidFormatException
       *
       * @return static|false
       */
      public static function rawCreateFromFormat($format, $time, $tz = null);
  
      /**
       * @see https://php.net/manual/en/datetime.format.php
       *
       * @param string $format
       *
       * @return string
       */
      public function rawFormat($format);
  
      /**
       * Create a carbon instance from a string.
       *
       * This is an alias for the constructor that allows better fluent syntax
       * as it allows you to do Carbon::parse('Monday next week')->fn() rather
       * than (new Carbon('Monday next week'))->fn().
       *
       * @param string|DateTimeInterface|null $time
       * @param DateTimeZone|string|null      $tz
       *
       * @throws InvalidFormatException
       *
       * @return static
       */
      public static function rawParse($time = null, $tz = null);
  
      /**
       * Call native PHP DateTime/DateTimeImmutable sub() method.
       *
       * @param DateInterval $interval
       *
       * @return static
       */
      public function rawSub(DateInterval $interval);
  
      /**
       * Remove all macros and generic macros.
       */
      public static function resetMacros();
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use the ->settings() method.
       *             Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
       *             are available for quarters, years, decade, centuries, millennia (singular and plural forms).
       * @see settings
       *
       * Reset the month overflow behavior.
       *
       * @return void
       */
      public static function resetMonthsOverflow();
  
      /**
       * Reset the format used to the default when type juggling a Carbon instance to a string
       *
       * @return void
       */
      public static function resetToStringFormat();
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use the ->settings() method.
       *             Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
       *             are available for quarters, years, decade, centuries, millennia (singular and plural forms).
       * @see settings
       *
       * Reset the month overflow behavior.
       *
       * @return void
       */
      public static function resetYearsOverflow();
  
      /**
       * Round the current instance second with given precision if specified.
       *
       * @param float|int|string|\DateInterval|null $precision
       * @param string                              $function
       *
       * @return CarbonInterface
       */
      public function round($precision = 1, $function = 'round');
  
      /**
       * Round the current instance at the given unit with given precision if specified and the given function.
       *
       * @param string    $unit
       * @param float|int $precision
       * @param string    $function
       *
       * @return CarbonInterface
       */
      public function roundUnit($unit, $precision = 1, $function = 'round');
  
      /**
       * Round the current instance week.
       *
       * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
       *
       * @return CarbonInterface
       */
      public function roundWeek($weekStartsAt = null);
  
      /**
       * The number of seconds since midnight.
       *
       * @return int
       */
      public function secondsSinceMidnight();
  
      /**
       * The number of seconds until 23:59:59.
       *
       * @return int
       */
      public function secondsUntilEndOfDay();
  
      /**
       * Return a serialized string of the instance.
       *
       * @return string
       */
      public function serialize();
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather transform Carbon object before the serialization.
       *
       * JSON serialize all Carbon instances using the given callback.
       *
       * @param callable $callback
       *
       * @return void
       */
      public static function serializeUsing($callback);
  
      /**
       * Set a part of the Carbon object
       *
       * @param string|array            $name
       * @param string|int|DateTimeZone $value
       *
       * @throws ImmutableException|UnknownSetterException
       *
       * @return $this
       */
      public function set($name, $value = null);
  
      /**
       * Set the date with gregorian year, month and day numbers.
       *
       * @see https://php.net/manual/en/datetime.setdate.php
       *
       * @param int $year
       * @param int $month
       * @param int $day
       *
       * @return static
       */
      #[ReturnTypeWillChange]
      public function setDate($year, $month, $day);
  
      /**
       * Set the year, month, and date for this instance to that of the passed instance.
       *
       * @param Carbon|DateTimeInterface $date now if null
       *
       * @return static
       */
      public function setDateFrom($date = null);
  
      /**
       * Set the date and time all together.
       *
       * @param int $year
       * @param int $month
       * @param int $day
       * @param int $hour
       * @param int $minute
       * @param int $second
       * @param int $microseconds
       *
       * @return static
       */
      public function setDateTime($year, $month, $day, $hour, $minute, $second = 0, $microseconds = 0);
  
      /**
       * Set the date and time for this instance to that of the passed instance.
       *
       * @param Carbon|DateTimeInterface $date
       *
       * @return static
       */
      public function setDateTimeFrom($date = null);
  
      /**
       * Set the day (keeping the current time) to the start of the week + the number of days passed as the first
       * parameter. First day of week is driven by the locale unless explicitly set with the second parameter.
       *
       * @param int      $numberOfDays number of days to add after the start of the current week
       * @param int|null $weekStartsAt optional start allow you to specify the day of week to use to start the week,
       *                               if not provided, start of week is inferred from the locale
       *                               (Sunday for en_US, Monday for de_DE, etc.)
       *
       * @return static
       */
      public function setDaysFromStartOfWeek(int $numberOfDays, ?int $weekStartsAt = null);
  
      /**
       * Set the fallback locale.
       *
       * @see https://symfony.com/doc/current/components/translation.html#fallback-locales
       *
       * @param string $locale
       */
      public static function setFallbackLocale($locale);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use the ->settings() method.
       * @see settings
       *
       * @param int $humanDiffOptions
       */
      public static function setHumanDiffOptions($humanDiffOptions);
  
      /**
       * Set a date according to the ISO 8601 standard - using weeks and day offsets rather than specific dates.
       *
       * @see https://php.net/manual/en/datetime.setisodate.php
       *
       * @param int $year
       * @param int $week
       * @param int $day
       *
       * @return static
       */
      #[ReturnTypeWillChange]
      public function setISODate($year, $week, $day = 1);
  
      /**
       * Set the translator for the current instance.
       *
       * @param \Symfony\Component\Translation\TranslatorInterface $translator
       *
       * @return $this
       */
      public function setLocalTranslator(TranslatorInterface $translator);
  
      /**
       * Set the current translator locale and indicate if the source locale file exists.
       * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
       *
       * @param string $locale locale ex. en
       *
       * @return bool
       */
      public static function setLocale($locale);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather consider mid-day is always 12pm, then if you need to test if it's an other
       *             hour, test it explicitly:
       *                 $date->format('G') == 13
       *             or to set explicitly to a given hour:
       *                 $date->setTime(13, 0, 0, 0)
       *
       * Set midday/noon hour
       *
       * @param int $hour midday hour
       *
       * @return void
       */
      public static function setMidDayAt($hour);
  
      /**
       * Set a Carbon instance (real or mock) to be returned when a "now"
       * instance is created.  The provided instance will be returned
       * specifically under the following conditions:
       *   - A call to the static now() method, ex. Carbon::now()
       *   - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
       *   - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
       *   - When a string containing the desired time is passed to Carbon::parse().
       *
       * Note the timezone parameter was left out of the examples above and
       * has no affect as the mock value will be returned regardless of its value.
       *
       * Only the moment is mocked with setTestNow(), the timezone will still be the one passed
       * as parameter of date_default_timezone_get() as a fallback (see setTestNowAndTimezone()).
       *
       * To clear the test instance call this method using the default
       * parameter of null.
       *
       * /!\ Use this method for unit tests only.
       *
       * @param DateTimeInterface|Closure|static|string|false|null $testNow real or mock Carbon instance
       */
      public static function setTestNow($testNow = null);
  
      /**
       * Set a Carbon instance (real or mock) to be returned when a "now"
       * instance is created.  The provided instance will be returned
       * specifically under the following conditions:
       *   - A call to the static now() method, ex. Carbon::now()
       *   - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
       *   - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
       *   - When a string containing the desired time is passed to Carbon::parse().
       *
       * It will also align default timezone (e.g. call date_default_timezone_set()) with
       * the second argument or if null, with the timezone of the given date object.
       *
       * To clear the test instance call this method using the default
       * parameter of null.
       *
       * /!\ Use this method for unit tests only.
       *
       * @param DateTimeInterface|Closure|static|string|false|null $testNow real or mock Carbon instance
       */
      public static function setTestNowAndTimezone($testNow = null, $tz = null);
  
      /**
       * Resets the current time of the DateTime object to a different time.
       *
       * @see https://php.net/manual/en/datetime.settime.php
       *
       * @param int $hour
       * @param int $minute
       * @param int $second
       * @param int $microseconds
       *
       * @return static
       */
      #[ReturnTypeWillChange]
      public function setTime($hour, $minute, $second = 0, $microseconds = 0);
  
      /**
       * Set the hour, minute, second and microseconds for this instance to that of the passed instance.
       *
       * @param Carbon|DateTimeInterface $date now if null
       *
       * @return static
       */
      public function setTimeFrom($date = null);
  
      /**
       * Set the time by time string.
       *
       * @param string $time
       *
       * @return static
       */
      public function setTimeFromTimeString($time);
  
      /**
       * Set the instance's timestamp.
       *
       * Timestamp input can be given as int, float or a string containing one or more numbers.
       *
       * @param float|int|string $unixTimestamp
       *
       * @return static
       */
      #[ReturnTypeWillChange]
      public function setTimestamp($unixTimestamp);
  
      /**
       * Set the instance's timezone from a string or object.
       *
       * @param DateTimeZone|string $value
       *
       * @return static
       */
      #[ReturnTypeWillChange]
      public function setTimezone($value);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather let Carbon object being cast to string with DEFAULT_TO_STRING_FORMAT, and
       *             use other method or custom format passed to format() method if you need to dump another string
       *             format.
       *
       * Set the default format used when type juggling a Carbon instance to a string.
       *
       * @param string|Closure|null $format
       *
       * @return void
       */
      public static function setToStringFormat($format);
  
      /**
       * Set the default translator instance to use.
       *
       * @param \Symfony\Component\Translation\TranslatorInterface $translator
       *
       * @return void
       */
      public static function setTranslator(TranslatorInterface $translator);
  
      /**
       * Set specified unit to new given value.
       *
       * @param string $unit  year, month, day, hour, minute, second or microsecond
       * @param int    $value new value for given unit
       *
       * @return static
       */
      public function setUnit($unit, $value = null);
  
      /**
       * Set any unit to a new value without overflowing current other unit given.
       *
       * @param string $valueUnit    unit name to modify
       * @param int    $value        new value for the input unit
       * @param string $overflowUnit unit name to not overflow
       *
       * @return static
       */
      public function setUnitNoOverflow($valueUnit, $value, $overflowUnit);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use UTF-8 language packages on every machine.
       *
       * Set if UTF8 will be used for localized date/time.
       *
       * @param bool $utf8
       */
      public static function setUtf8($utf8);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
       *             or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
       *             start of week according to current locale selected and implicitly the end of week.
       *
       * Set the last day of week
       *
       * @param int|string $day week end day (or 'auto' to get the day before the first day of week
       *                        from Carbon::getLocale() culture).
       *
       * @return void
       */
      public static function setWeekEndsAt($day);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
       *             'first_day_of_week' locale setting to change the start of week according to current locale
       *             selected and implicitly the end of week.
       *
       * Set the first day of week
       *
       * @param int|string $day week start day (or 'auto' to get the first day of week from Carbon::getLocale() culture).
       *
       * @return void
       */
      public static function setWeekStartsAt($day);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather consider week-end is always saturday and sunday, and if you have some custom
       *             week-end days to handle, give to those days an other name and create a macro for them:
       *
       *             ```
       *             Carbon::macro('isDayOff', function ($date) {
       *                 return $date->isSunday() || $date->isMonday();
       *             });
       *             Carbon::macro('isNotDayOff', function ($date) {
       *                 return !$date->isDayOff();
       *             });
       *             if ($someDate->isDayOff()) ...
       *             if ($someDate->isNotDayOff()) ...
       *             // Add 5 not-off days
       *             $count = 5;
       *             while ($someDate->isDayOff() || ($count-- > 0)) {
       *                 $someDate->addDay();
       *             }
       *             ```
       *
       * Set weekend days
       *
       * @param array $days
       *
       * @return void
       */
      public static function setWeekendDays($days);
  
      /**
       * Set specific options.
       *  - strictMode: true|false|null
       *  - monthOverflow: true|false|null
       *  - yearOverflow: true|false|null
       *  - humanDiffOptions: int|null
       *  - toStringFormat: string|Closure|null
       *  - toJsonFormat: string|Closure|null
       *  - locale: string|null
       *  - timezone: \DateTimeZone|string|int|null
       *  - macros: array|null
       *  - genericMacros: array|null
       *
       * @param array $settings
       *
       * @return $this|static
       */
      public function settings(array $settings);
  
      /**
       * Set the instance's timezone from a string or object and add/subtract the offset difference.
       *
       * @param DateTimeZone|string $value
       *
       * @return static
       */
      public function shiftTimezone($value);
  
      /**
       * Get the month overflow global behavior (can be overridden in specific instances).
       *
       * @return bool
       */
      public static function shouldOverflowMonths();
  
      /**
       * Get the month overflow global behavior (can be overridden in specific instances).
       *
       * @return bool
       */
      public static function shouldOverflowYears();
  
      /**
       * @alias diffForHumans
       *
       * Get the difference in a human readable format in the current locale from current instance to an other
       * instance given (or now if null given).
       */
      public function since($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
  
      /**
       * Returns standardized singular of a given singular/plural unit name (in English).
       *
       * @param string $unit
       *
       * @return string
       */
      public static function singularUnit(string $unit): string;
  
      /**
       * Modify to start of current given unit.
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16.334455')
       *   ->startOf('month')
       *   ->endOf('week', Carbon::FRIDAY);
       * ```
       *
       * @param string            $unit
       * @param array<int, mixed> $params
       *
       * @return static
       */
      public function startOf($unit, ...$params);
  
      /**
       * Resets the date to the first day of the century and the time to 00:00:00
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfCentury();
       * ```
       *
       * @return static
       */
      public function startOfCentury();
  
      /**
       * Resets the time to 00:00:00 start of day
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfDay();
       * ```
       *
       * @return static
       */
      public function startOfDay();
  
      /**
       * Resets the date to the first day of the decade and the time to 00:00:00
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfDecade();
       * ```
       *
       * @return static
       */
      public function startOfDecade();
  
      /**
       * Modify to start of current hour, minutes and seconds become 0
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfHour();
       * ```
       *
       * @return static
       */
      public function startOfHour();
  
      /**
       * Resets the date to the first day of the millennium and the time to 00:00:00
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfMillennium();
       * ```
       *
       * @return static
       */
      public function startOfMillennium();
  
      /**
       * Modify to start of current minute, seconds become 0
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfMinute();
       * ```
       *
       * @return static
       */
      public function startOfMinute();
  
      /**
       * Resets the date to the first day of the month and the time to 00:00:00
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfMonth();
       * ```
       *
       * @return static
       */
      public function startOfMonth();
  
      /**
       * Resets the date to the first day of the quarter and the time to 00:00:00
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfQuarter();
       * ```
       *
       * @return static
       */
      public function startOfQuarter();
  
      /**
       * Modify to start of current second, microseconds become 0
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16.334455')
       *   ->startOfSecond()
       *   ->format('H:i:s.u');
       * ```
       *
       * @return static
       */
      public function startOfSecond();
  
      /**
       * Resets the date to the first day of week (defined in $weekStartsAt) and the time to 00:00:00
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfWeek() . "
  ";
       * echo Carbon::parse('2018-07-25 12:45:16')->locale('ar')->startOfWeek() . "
  ";
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfWeek(Carbon::SUNDAY) . "
  ";
       * ```
       *
       * @param int $weekStartsAt optional start allow you to specify the day of week to use to start the week
       *
       * @return static
       */
      public function startOfWeek($weekStartsAt = null);
  
      /**
       * Resets the date to the first day of the year and the time to 00:00:00
       *
       * @example
       * ```
       * echo Carbon::parse('2018-07-25 12:45:16')->startOfYear();
       * ```
       *
       * @return static
       */
      public function startOfYear();
  
      /**
       * Subtract given units or interval to the current instance.
       *
       * @example $date->sub('hour', 3)
       * @example $date->sub(15, 'days')
       * @example $date->sub(CarbonInterval::days(4))
       *
       * @param string|DateInterval|Closure|CarbonConverterInterface $unit
       * @param int                                                  $value
       * @param bool|null                                            $overflow
       *
       * @return static
       */
      #[ReturnTypeWillChange]
      public function sub($unit, $value = 1, $overflow = null);
  
      public function subRealUnit($unit, $value = 1);
  
      /**
       * Subtract given units to the current instance.
       *
       * @param string    $unit
       * @param int       $value
       * @param bool|null $overflow
       *
       * @return static
       */
      public function subUnit($unit, $value = 1, $overflow = null);
  
      /**
       * Subtract any unit to a new value without overflowing current other unit given.
       *
       * @param string $valueUnit    unit name to modify
       * @param int    $value        amount to subtract to the input unit
       * @param string $overflowUnit unit name to not overflow
       *
       * @return static
       */
      public function subUnitNoOverflow($valueUnit, $value, $overflowUnit);
  
      /**
       * Subtract given units or interval to the current instance.
       *
       * @see sub()
       *
       * @param string|DateInterval $unit
       * @param int                 $value
       * @param bool|null           $overflow
       *
       * @return static
       */
      public function subtract($unit, $value = 1, $overflow = null);
  
      /**
       * Get the difference in a human readable format in the current locale from current instance to an other
       * instance given (or now if null given).
       *
       * @return string
       */
      public function timespan($other = null, $timezone = null);
  
      /**
       * Set the instance's timestamp.
       *
       * Timestamp input can be given as int, float or a string containing one or more numbers.
       *
       * @param float|int|string $unixTimestamp
       *
       * @return static
       */
      public function timestamp($unixTimestamp);
  
      /**
       * @alias setTimezone
       *
       * @param DateTimeZone|string $value
       *
       * @return static
       */
      public function timezone($value);
  
      /**
       * Get the difference in a human readable format in the current locale from an other
       * instance given (or now if null given) to current instance.
       *
       * When comparing a value in the past to default now:
       * 1 hour from now
       * 5 months from now
       *
       * When comparing a value in the future to default now:
       * 1 hour ago
       * 5 months ago
       *
       * When comparing a value in the past to another value:
       * 1 hour after
       * 5 months after
       *
       * When comparing a value in the future to another value:
       * 1 hour before
       * 5 months before
       *
       * @param Carbon|\DateTimeInterface|string|array|null $other   if array passed, will be used as parameters array, see $syntax below;
       *                                                             if null passed, now will be used as comparison reference;
       *                                                             if any other type, it will be converted to date and used as reference.
       * @param int|array                                   $syntax  if array passed, parameters will be extracted from it, the array may contains:
       *                                                             - 'syntax' entry (see below)
       *                                                             - 'short' entry (see below)
       *                                                             - 'parts' entry (see below)
       *                                                             - 'options' entry (see below)
       *                                                             - 'join' entry determines how to join multiple parts of the string
       *                                                             `  - if $join is a string, it's used as a joiner glue
       *                                                             `  - if $join is a callable/closure, it get the list of string and should return a string
       *                                                             `  - if $join is an array, the first item will be the default glue, and the second item
       *                                                             `    will be used instead of the glue for the last item
       *                                                             `  - if $join is true, it will be guessed from the locale ('list' translation file entry)
       *                                                             `  - if $join is missing, a space will be used as glue
       *                                                             - 'other' entry (see above)
       *                                                             if int passed, it add modifiers:
       *                                                             Possible values:
       *                                                             - CarbonInterface::DIFF_ABSOLUTE          no modifiers
       *                                                             - CarbonInterface::DIFF_RELATIVE_TO_NOW   add ago/from now modifier
       *                                                             - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
       *                                                             Default value: CarbonInterface::DIFF_ABSOLUTE
       * @param bool                                        $short   displays short format of time units
       * @param int                                         $parts   maximum number of parts to display (default value: 1: single unit)
       * @param int                                         $options human diff options
       *
       * @return string
       */
      public function to($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
  
      /**
       * Get default array representation.
       *
       * @example
       * ```
       * var_dump(Carbon::now()->toArray());
       * ```
       *
       * @return array
       */
      public function toArray();
  
      /**
       * Format the instance as ATOM
       *
       * @example
       * ```
       * echo Carbon::now()->toAtomString();
       * ```
       *
       * @return string
       */
      public function toAtomString();
  
      /**
       * Format the instance as COOKIE
       *
       * @example
       * ```
       * echo Carbon::now()->toCookieString();
       * ```
       *
       * @return string
       */
      public function toCookieString();
  
      /**
       * @alias toDateTime
       *
       * Return native DateTime PHP object matching the current instance.
       *
       * @example
       * ```
       * var_dump(Carbon::now()->toDate());
       * ```
       *
       * @return DateTime
       */
      public function toDate();
  
      /**
       * Format the instance as date
       *
       * @example
       * ```
       * echo Carbon::now()->toDateString();
       * ```
       *
       * @return string
       */
      public function toDateString();
  
      /**
       * Return native DateTime PHP object matching the current instance.
       *
       * @example
       * ```
       * var_dump(Carbon::now()->toDateTime());
       * ```
       *
       * @return DateTime
       */
      public function toDateTime();
  
      /**
       * Return native toDateTimeImmutable PHP object matching the current instance.
       *
       * @example
       * ```
       * var_dump(Carbon::now()->toDateTimeImmutable());
       * ```
       *
       * @return DateTimeImmutable
       */
      public function toDateTimeImmutable();
  
      /**
       * Format the instance as date and time T-separated with no timezone
       *
       * @example
       * ```
       * echo Carbon::now()->toDateTimeLocalString();
       * echo "
  ";
       * echo Carbon::now()->toDateTimeLocalString('minute'); // You can specify precision among: minute, second, millisecond and microsecond
       * ```
       *
       * @param string $unitPrecision
       *
       * @return string
       */
      public function toDateTimeLocalString($unitPrecision = 'second');
  
      /**
       * Format the instance as date and time
       *
       * @example
       * ```
       * echo Carbon::now()->toDateTimeString();
       * ```
       *
       * @param string $unitPrecision
       *
       * @return string
       */
      public function toDateTimeString($unitPrecision = 'second');
  
      /**
       * Format the instance with day, date and time
       *
       * @example
       * ```
       * echo Carbon::now()->toDayDateTimeString();
       * ```
       *
       * @return string
       */
      public function toDayDateTimeString();
  
      /**
       * Format the instance as a readable date
       *
       * @example
       * ```
       * echo Carbon::now()->toFormattedDateString();
       * ```
       *
       * @return string
       */
      public function toFormattedDateString();
  
      /**
       * Format the instance with the day, and a readable date
       *
       * @example
       * ```
       * echo Carbon::now()->toFormattedDayDateString();
       * ```
       *
       * @return string
       */
      public function toFormattedDayDateString(): string;
  
      /**
       * Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z, if $keepOffset truthy, offset will be kept:
       * 1977-04-22T01:00:00-05:00).
       *
       * @example
       * ```
       * echo Carbon::now('America/Toronto')->toISOString() . "
  ";
       * echo Carbon::now('America/Toronto')->toISOString(true) . "
  ";
       * ```
       *
       * @param bool $keepOffset Pass true to keep the date offset. Else forced to UTC.
       *
       * @return null|string
       */
      public function toISOString($keepOffset = false);
  
      /**
       * Return a immutable copy of the instance.
       *
       * @return CarbonImmutable
       */
      public function toImmutable();
  
      /**
       * Format the instance as ISO8601
       *
       * @example
       * ```
       * echo Carbon::now()->toIso8601String();
       * ```
       *
       * @return string
       */
      public function toIso8601String();
  
      /**
       * Convert the instance to UTC and return as Zulu ISO8601
       *
       * @example
       * ```
       * echo Carbon::now()->toIso8601ZuluString();
       * ```
       *
       * @param string $unitPrecision
       *
       * @return string
       */
      public function toIso8601ZuluString($unitPrecision = 'second');
  
      /**
       * Return the ISO-8601 string (ex: 1977-04-22T06:00:00Z) with UTC timezone.
       *
       * @example
       * ```
       * echo Carbon::now('America/Toronto')->toJSON();
       * ```
       *
       * @return null|string
       */
      public function toJSON();
  
      /**
       * Return a mutable copy of the instance.
       *
       * @return Carbon
       */
      public function toMutable();
  
      /**
       * Get the difference in a human readable format in the current locale from an other
       * instance given to now
       *
       * @param int|array $syntax  if array passed, parameters will be extracted from it, the array may contains:
       *                           - 'syntax' entry (see below)
       *                           - 'short' entry (see below)
       *                           - 'parts' entry (see below)
       *                           - 'options' entry (see below)
       *                           - 'join' entry determines how to join multiple parts of the string
       *                           `  - if $join is a string, it's used as a joiner glue
       *                           `  - if $join is a callable/closure, it get the list of string and should return a string
       *                           `  - if $join is an array, the first item will be the default glue, and the second item
       *                           `    will be used instead of the glue for the last item
       *                           `  - if $join is true, it will be guessed from the locale ('list' translation file entry)
       *                           `  - if $join is missing, a space will be used as glue
       *                           if int passed, it add modifiers:
       *                           Possible values:
       *                           - CarbonInterface::DIFF_ABSOLUTE          no modifiers
       *                           - CarbonInterface::DIFF_RELATIVE_TO_NOW   add ago/from now modifier
       *                           - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
       *                           Default value: CarbonInterface::DIFF_ABSOLUTE
       * @param bool      $short   displays short format of time units
       * @param int       $parts   maximum number of parts to display (default value: 1: single part)
       * @param int       $options human diff options
       *
       * @return string
       */
      public function toNow($syntax = null, $short = false, $parts = 1, $options = null);
  
      /**
       * Get default object representation.
       *
       * @example
       * ```
       * var_dump(Carbon::now()->toObject());
       * ```
       *
       * @return object
       */
      public function toObject();
  
      /**
       * Create a iterable CarbonPeriod object from current date to a given end date (and optional interval).
       *
       * @param \DateTimeInterface|Carbon|CarbonImmutable|int|null $end      period end date or recurrences count if int
       * @param int|\DateInterval|string|null                      $interval period default interval or number of the given $unit
       * @param string|null                                        $unit     if specified, $interval must be an integer
       *
       * @return CarbonPeriod
       */
      public function toPeriod($end = null, $interval = null, $unit = null);
  
      /**
       * Format the instance as RFC1036
       *
       * @example
       * ```
       * echo Carbon::now()->toRfc1036String();
       * ```
       *
       * @return string
       */
      public function toRfc1036String();
  
      /**
       * Format the instance as RFC1123
       *
       * @example
       * ```
       * echo Carbon::now()->toRfc1123String();
       * ```
       *
       * @return string
       */
      public function toRfc1123String();
  
      /**
       * Format the instance as RFC2822
       *
       * @example
       * ```
       * echo Carbon::now()->toRfc2822String();
       * ```
       *
       * @return string
       */
      public function toRfc2822String();
  
      /**
       * Format the instance as RFC3339
       *
       * @param bool $extended
       *
       * @example
       * ```
       * echo Carbon::now()->toRfc3339String() . "
  ";
       * echo Carbon::now()->toRfc3339String(true) . "
  ";
       * ```
       *
       * @return string
       */
      public function toRfc3339String($extended = false);
  
      /**
       * Format the instance as RFC7231
       *
       * @example
       * ```
       * echo Carbon::now()->toRfc7231String();
       * ```
       *
       * @return string
       */
      public function toRfc7231String();
  
      /**
       * Format the instance as RFC822
       *
       * @example
       * ```
       * echo Carbon::now()->toRfc822String();
       * ```
       *
       * @return string
       */
      public function toRfc822String();
  
      /**
       * Format the instance as RFC850
       *
       * @example
       * ```
       * echo Carbon::now()->toRfc850String();
       * ```
       *
       * @return string
       */
      public function toRfc850String();
  
      /**
       * Format the instance as RSS
       *
       * @example
       * ```
       * echo Carbon::now()->toRssString();
       * ```
       *
       * @return string
       */
      public function toRssString();
  
      /**
       * Returns english human readable complete date string.
       *
       * @example
       * ```
       * echo Carbon::now()->toString();
       * ```
       *
       * @return string
       */
      public function toString();
  
      /**
       * Format the instance as time
       *
       * @example
       * ```
       * echo Carbon::now()->toTimeString();
       * ```
       *
       * @param string $unitPrecision
       *
       * @return string
       */
      public function toTimeString($unitPrecision = 'second');
  
      /**
       * Format the instance as W3C
       *
       * @example
       * ```
       * echo Carbon::now()->toW3cString();
       * ```
       *
       * @return string
       */
      public function toW3cString();
  
      /**
       * Create a Carbon instance for today.
       *
       * @param DateTimeZone|string|null $tz
       *
       * @return static
       */
      public static function today($tz = null);
  
      /**
       * Create a Carbon instance for tomorrow.
       *
       * @param DateTimeZone|string|null $tz
       *
       * @return static
       */
      public static function tomorrow($tz = null);
  
      /**
       * Translate using translation string or callback available.
       *
       * @param string                                                  $key
       * @param array                                                   $parameters
       * @param string|int|float|null                                   $number
       * @param \Symfony\Component\Translation\TranslatorInterface|null $translator
       * @param bool                                                    $altNumbers
       *
       * @return string
       */
      public function translate(string $key, array $parameters = [], $number = null, ?TranslatorInterface $translator = null, bool $altNumbers = false): string;
  
      /**
       * Returns the alternative number for a given integer if available in the current locale.
       *
       * @param int $number
       *
       * @return string
       */
      public function translateNumber(int $number): string;
  
      /**
       * Translate a time string from a locale to an other.
       *
       * @param string      $timeString date/time/duration string to translate (may also contain English)
       * @param string|null $from       input locale of the $timeString parameter (`Carbon::getLocale()` by default)
       * @param string|null $to         output locale of the result returned (`"en"` by default)
       * @param int         $mode       specify what to translate with options:
       *                                - self::TRANSLATE_ALL (default)
       *                                - CarbonInterface::TRANSLATE_MONTHS
       *                                - CarbonInterface::TRANSLATE_DAYS
       *                                - CarbonInterface::TRANSLATE_UNITS
       *                                - CarbonInterface::TRANSLATE_MERIDIEM
       *                                You can use pipe to group: CarbonInterface::TRANSLATE_MONTHS | CarbonInterface::TRANSLATE_DAYS
       *
       * @return string
       */
      public static function translateTimeString($timeString, $from = null, $to = null, $mode = self::TRANSLATE_ALL);
  
      /**
       * Translate a time string from the current locale (`$date->locale()`) to an other.
       *
       * @param string      $timeString time string to translate
       * @param string|null $to         output locale of the result returned ("en" by default)
       *
       * @return string
       */
      public function translateTimeStringTo($timeString, $to = null);
  
      /**
       * Translate using translation string or callback available.
       *
       * @param \Symfony\Component\Translation\TranslatorInterface $translator
       * @param string                                             $key
       * @param array                                              $parameters
       * @param null                                               $number
       *
       * @return string
       */
      public static function translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null): string;
  
      /**
       * Format as ->format() do (using date replacements patterns from https://php.net/manual/en/function.date.php)
       * but translate words whenever possible (months, day names, etc.) using the current locale.
       *
       * @param string $format
       *
       * @return string
       */
      public function translatedFormat(string $format): string;
  
      /**
       * Set the timezone or returns the timezone name if no arguments passed.
       *
       * @param DateTimeZone|string $value
       *
       * @return static|string
       */
      public function tz($value = null);
  
      /**
       * @alias getTimestamp
       *
       * Returns the UNIX timestamp for the current date.
       *
       * @return int
       */
      public function unix();
  
      /**
       * @alias to
       *
       * Get the difference in a human readable format in the current locale from an other
       * instance given (or now if null given) to current instance.
       *
       * @param Carbon|\DateTimeInterface|string|array|null $other   if array passed, will be used as parameters array, see $syntax below;
       *                                                             if null passed, now will be used as comparison reference;
       *                                                             if any other type, it will be converted to date and used as reference.
       * @param int|array                                   $syntax  if array passed, parameters will be extracted from it, the array may contains:
       *                                                             - 'syntax' entry (see below)
       *                                                             - 'short' entry (see below)
       *                                                             - 'parts' entry (see below)
       *                                                             - 'options' entry (see below)
       *                                                             - 'join' entry determines how to join multiple parts of the string
       *                                                             `  - if $join is a string, it's used as a joiner glue
       *                                                             `  - if $join is a callable/closure, it get the list of string and should return a string
       *                                                             `  - if $join is an array, the first item will be the default glue, and the second item
       *                                                             `    will be used instead of the glue for the last item
       *                                                             `  - if $join is true, it will be guessed from the locale ('list' translation file entry)
       *                                                             `  - if $join is missing, a space will be used as glue
       *                                                             - 'other' entry (see above)
       *                                                             if int passed, it add modifiers:
       *                                                             Possible values:
       *                                                             - CarbonInterface::DIFF_ABSOLUTE          no modifiers
       *                                                             - CarbonInterface::DIFF_RELATIVE_TO_NOW   add ago/from now modifier
       *                                                             - CarbonInterface::DIFF_RELATIVE_TO_OTHER add before/after modifier
       *                                                             Default value: CarbonInterface::DIFF_ABSOLUTE
       * @param bool                                        $short   displays short format of time units
       * @param int                                         $parts   maximum number of parts to display (default value: 1: single unit)
       * @param int                                         $options human diff options
       *
       * @return string
       */
      public function until($other = null, $syntax = null, $short = false, $parts = 1, $options = null);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use the ->settings() method.
       *             Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
       *             are available for quarters, years, decade, centuries, millennia (singular and plural forms).
       * @see settings
       *
       * Indicates if months should be calculated with overflow.
       *
       * @param bool $monthsOverflow
       *
       * @return void
       */
      public static function useMonthsOverflow($monthsOverflow = true);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use the ->settings() method.
       * @see settings
       *
       * Enable the strict mode (or disable with passing false).
       *
       * @param bool $strictModeEnabled
       */
      public static function useStrictMode($strictModeEnabled = true);
  
      /**
       * @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
       *             You should rather use the ->settings() method.
       *             Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
       *             are available for quarters, years, decade, centuries, millennia (singular and plural forms).
       * @see settings
       *
       * Indicates if years should be calculated with overflow.
       *
       * @param bool $yearsOverflow
       *
       * @return void
       */
      public static function useYearsOverflow($yearsOverflow = true);
  
      /**
       * Set the instance's timezone to UTC.
       *
       * @return static
       */
      public function utc();
  
      /**
       * Returns the minutes offset to UTC if no arguments passed, else set the timezone with given minutes shift passed.
       *
       * @param int|null $minuteOffset
       *
       * @return int|static
       */
      public function utcOffset(?int $minuteOffset = null);
  
      /**
       * Returns the milliseconds timestamps used amongst other by Date javascript objects.
       *
       * @return float
       */
      public function valueOf();
  
      /**
       * Get/set the week number using given first day of week and first
       * day of year included in the first week. Or use US format if no settings
       * given (Sunday / Jan 6).
       *
       * @param int|null $week
       * @param int|null $dayOfWeek
       * @param int|null $dayOfYear
       *
       * @return int|static
       */
      public function week($week = null, $dayOfWeek = null, $dayOfYear = null);
  
      /**
       * Set/get the week number of year using given first day of week and first
       * day of year included in the first week. Or use US format if no settings
       * given (Sunday / Jan 6).
       *
       * @param int|null $year      if null, act as a getter, if not null, set the year and return current instance.
       * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
       * @param int|null $dayOfYear first day of year included in the week #1
       *
       * @return int|static
       */
      public function weekYear($year = null, $dayOfWeek = null, $dayOfYear = null);
  
      /**
       * Get/set the weekday from 0 (Sunday) to 6 (Saturday).
       *
       * @param int|null $value new value for weekday if using as setter.
       *
       * @return static|int
       */
      public function weekday($value = null);
  
      /**
       * Get the number of weeks of the current week-year using given first day of week and first
       * day of year included in the first week. Or use US format if no settings
       * given (Sunday / Jan 6).
       *
       * @param int|null $dayOfWeek first date of week from 0 (Sunday) to 6 (Saturday)
       * @param int|null $dayOfYear first day of year included in the week #1
       *
       * @return int
       */
      public function weeksInYear($dayOfWeek = null, $dayOfYear = null);
  
      /**
       * Temporarily sets a static date to be used within the callback.
       * Using setTestNow to set the date, executing the callback, then
       * clearing the test instance.
       *
       * /!\ Use this method for unit tests only.
       *
       * @template T
       *
       * @param DateTimeInterface|Closure|static|string|false|null $testNow  real or mock Carbon instance
       * @param Closure(): T                                       $callback
       *
       * @return T
       */
      public static function withTestNow($testNow, $callback);
  
      /**
       * Create a Carbon instance for yesterday.
       *
       * @param DateTimeZone|string|null $tz
       *
       * @return static
       */
      public static function yesterday($tz = null);
  
      // </methods>
  }