forked from johannesgerer/jburkardt-m
-
Notifications
You must be signed in to change notification settings - Fork 0
/
calpak.html
3288 lines (3255 loc) · 115 KB
/
calpak.html
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
<html>
<head>
<title>
CALPAK - Calendar Calculations
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
CALPAK <br> Calendar Calculations
</h1>
<hr>
<p>
<b>CALPAK</b>
is a MATLAB library which
computes various simple calendrical quantities.
</p>
<p>
These include converting
from day-number/year to day/month/year format, calculating the time
difference between two dates, finding the day of the week of a given date,
and other feats.
</p>
<p>
Some common methods of marking the date include:
<ul>
<li>
<b>JED</b>, the Julian Ephemeris Date, a count of days since
a long time ago;
</li>
<li>
<b>YMD</b>, for "year, month, day";
</li>
<li>
<b>YJ</b>, for "year, day number".
</li>
</ul>
</p>
<p>
While there have been many calendars over the years, it
is instructive to contemplate just the crazy story of our
current "common" calendar. To this day, people disagree about
whether there was a year 0, although the Julian calendar
was a Roman invention, and Dionysius Exiguus, who gets the
blame for shifting the Julian calendar's starting date to
the birth year of Christ four hundred years afterwards, didn't
have an accurate idea of when that was.
</p>
<p>
There was a
controversial shift from the Julian to the Gregorian calendar,
which took place <i>piecemeal</i> throughout the Catholic
world, with several countries actually switching back and
forth more than once, and with England holding out on the
old system until after George Washington was born (which
means he was born on February 11 AND February 22).
</p>
<p>
People didn't agree on when the year started, so that January and
February, in particular, were a little murky about which
year they belonged to, and the year sometimes started
around March 22, near the vernal equinox.
</p>
<p>
There are a number of side issues, including
<ul>
<li>
determining the day of the week of a given date;
</li>
<li>
determining the number of days between two dates;
</li>
<li>
the computation of the date of certain holidays;
</li>
</ul>
</p>
<h3 align = "center">
Licensing:
</h3>
<p>
The computer code and data files described and made available on this web page
are distributed under
<a href = "../../txt/gnu_lgpl.txt">the GNU LGPL license.</a>
</p>
<h3 align = "center">
Languages:
</h3>
<p>
<b>CALPAK</b> is available in
<a href = "../../cpp_src/calpak/calpak.html">a C++ version</a> and
<a href = "../../f_src/calpak/calpak.html">a FORTRAN90 version</a> and
<a href = "../../m_src/calpak/calpak.html">a MATLAB version</a>.
</p>
<h3 align = "center">
Related Data and Programs:
</h3>
<p>
<a href = "../../m_src/calendar_nyt/calendar_nyt.html">
CALENDAR_NYT</a>,
a MATLAB library which
shows the correspondence between dates and the New York Times volume and
issue number;
</p>
<p>
<a href = "../../cpp_src/calendar_rd/calendar_rd.html">
CALENDAR_RD</a>,
a C++ program which
computes the representation of a given date in a
number of calendrical systems,
by Edward Reingold and Nachum Dershowitz
</p>
<p>
<a href = "../../datasets/dates/dates.html">
DATES</a>,
a dataset directory which
contains lists of dates in various calendar systems.
</p>
<p>
<a href = "../../m_src/doomsday/doomsday.html">
DOOMSDAY</a>,
a MATLAB library which
is given the year, month and day of a date, and uses
John Conway's doomsday algorithm to determine the corresponding day of the week.
</p>
<p>
<a href = "../../m_src/weekday/weekday.html">
WEEKDAY</a>,
a MATLAB library which
determines the day of the week for a given day.
</p>
<h3 align = "center">
Reference:
</h3>
<p>
<ol>
<li>
Anonymous,<br>
A Correction; Welcome to 51,254,<br>
The New York Times,<br>
01 January 2000, Volume 149, Issue 51254.
</li>
<li>
James Barron,<br>
What's in a Number? 143 Years of News,<br>
The New York Times,<br>
14 March 1995, Volume 144, Issue 50000.
</li>
<li>
Bonnie Blackburn, Leofranc Holford-Stevens,<br>
The Oxford Companion to the Year,<br>
Oxford, 1999,<br>
ISBN: 0192142313,<br>
LC: CE73.B553.
</li>
<li>
Lewis Carroll (Charles Dodgson),<br>
To Find the Day of the Week for Any Given Date,<br>
Nature, 31 March 1887.
</li>
<li>
John Conway,<br>
Tomorrow is the Day After Doomsday,<br>
Eureka,<br>
Volume 36, October 1973, pages 28-31.
</li>
<li>
Peter Duffett-Smith,<br>
Practical Astronomy With Your Calculator,<br>
Third Edition,<br>
Cambridge University Press, 1996,<br>
ISBN: 0-521-35699-7,<br>
LC: QB62.5.D83.
</li>
<li>
Donald Knuth,<br>
The Art of Computer Programming,<br>
Volume 1, Fundamental Algorithms,<br>
Third Edition,<br>
Addison-Wesley, 1997,<br>
ISBN: 0201896834,<br>
LC: QA76.6.K64.
</li>
<li>
Donald Knuth,<br>
The Calculation of Easter,<br>
Communications of the ACM,<br>
Volume 5, Number 4, April 1962, pages 209-210.
</li>
<li>
Gary Meisters,<br>
Lewis Carroll's Day-of-the-Week Algorithm,<br>
Math Horizons,<br>
November 2002, pages 24-25.
</li>
<li>
Lance Latham,<br>
Standard C Date/Time Library,<br>
Programming the World's Calendars and Clocks,<br>
Miller Freeman, 1998,<br>
ISBN: 0-87930-496-0.
</li>
<li>
The New York Times,<br>
Page One, 1896-1996, A Special Commemorative Edition Celebrating the
100th Anniversary of the Purchase of the New York Times by Adolph S Ochs,<br>
Galahad Books, 1996,<br>
ISBN: 0-88365-961-1,<br>
LC: D411.P25.
</li>
<li>
The New York Times,<br>
The Complete First Pages, 1851-2008,<br>
Black Dog & Leventhal Publishers, 2008,<br>
ISBN13: 978-1-57912-749-7,<br>
LC: D351.N53.
</li>
<li>
Thomas OBeirne,<br>
Puzzles and Paradoxes,<br>
Oxford University Press, 1965,<br>
LC: QA95.O2.
</li>
<li>
Frank Parise, editor,<br>
The Book of Calendars,<br>
Gorgias, 2002,<br>
ISBN: 1931956766,<br>
LC: CE11.K4.
</li>
<li>
William Press, Brian Flannery, Saul Teukolsky, William Vetterling,<br>
Numerical Recipes in FORTRAN: The Art of Scientific Computing,<br>
Second Edition,<br>
Cambridge University Press, 1992,<br>
ISBN: 0-521-43064-X,<br>
LC: QA297.N866.
</li>
<li>
Edward Reingold, Nachum Dershowitz,<br>
Calendrical Calculations: The Millennium Edition,<br>
Cambridge University Press, 2001,<br>
ISBN: 0-521-77752-6,<br>
LC: CE12.R45.
</li>
<li>
Edward Reingold, Nachum Dershowitz,<br>
Calendrical Calculations I,<br>
Software - Practice and Experience,<br>
Volume 20, Number 9, September 1990, pages 899-928.<br>
</li>
<li>
Edward Reingold, Nachum Dershowitz, Stewart Clamen,<br>
Calendrical Calculations, II: Three Historical Calendars,<br>
Software - Practice and Experience,<br>
Volume 23, Number 4, pages 383-404, April 1993.
</li>
<li>
Edward Richards,<br>
Mapping Time, The Calendar and Its History,<br>
Oxford, 1999,<br>
ISBN: 0-19-850413-6,<br>
LC: CE11.R5.
</li>
<li>
Ian Stewart,<br>
Easter is a Quasicrystal,<br>
Scientific American,<br>
Volume 284, Number 3, March 2001, pages 80-83.
</li>
<li>
Daniel Zwillinger, editor,<br>
CRC Standard Mathematical Tables and Formulae,<br>
30th Edition,<br>
CRC Press, 1996,<br>
ISBN: 0-8493-2479-3,<br>
LC: QA47.M315.
</li>
</ol>
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "ch_cap.m">ch_cap.m</a>,
capitalizes a single character.
</li>
<li>
<a href = "cws_to_jed_gps.m">cws_to_jed_gps.m</a>,
converts a GPS CWS date to a JED.
</li>
<li>
<a href = "cws_to_s_gps.m">cws_to_s_gps.m</a>,
writes a GPS CWS date into a string.
</li>
<li>
<a href = "datenum_to_jed.m">datenum_to_jed.m</a>,
converts a MATLAB date number to a JED.
</li>
<li>
<a href = "day_borrow_alexandrian.m">day_borrow_alexandrian.m</a>,
borrows days from months in an Alexandrian date.
</li>
<li>
<a href = "day_borrow_common.m">day_borrow_common.m</a>,
borrows days from months in a Common date.
</li>
<li>
<a href = "day_borrow_eg_civil.m">day_borrow_eg_civil.m</a>,
borrows days from months in an Egyptian Civil date.
</li>
<li>
<a href = "day_borrow_english.m">day_borrow_english.m</a>,
borrows days from months in an English date.
</li>
<li>
<a href = "day_borrow_gregorian.m">day_borrow_gregorian.m</a>,
borrows days from months in a Gregorian date.
</li>
<li>
<a href = "day_borrow_hebrew.m">day_borrow_hebrew.m</a>,
borrows days from months in a Hebrew date.
</li>
<li>
<a href = "day_borrow_islamic.m">day_borrow_islamic.m</a>,
borrows days from months in an Islamic date.
</li>
<li>
<a href = "day_borrow_julian.m">day_borrow_julian.m</a>,
borrows days from months in a Julian date.
</li>
<li>
<a href = "day_borrow_republican.m">day_borrow_republican.m</a>,
borrows days from months in a Republican date.
</li>
<li>
<a href = "day_borrow_roman.m">day_borrow_roman.m</a>,
borrows days from months in a Roman date.
</li>
<li>
<a href = "day_carry_alexandrian.m">day_carry_alexandrian.m</a>,
carries days to months in an Alexandrian date.
</li>
<li>
<a href = "day_carry_common.m">day_carry_common.m</a>,
carries days to months in a Common date.
</li>
<li>
<a href = "day_carry_eg_civil.m">day_carry_eg_civil.m</a>,
carries days to months in an Egyptian Civil date.
</li>
<li>
<a href = "day_carry_gregorian.m">day_carry_gregorian.m</a>,
carries days to months in a Gregorian date.
</li>
<li>
<a href = "day_carry_hebrew.m">day_carry_hebrew.m</a>,
carries days to months in a Hebrew date.
</li>
<li>
<a href = "day_carry_islamic.m">day_carry_islamic.m</a>,
carries days to months in an Islamic date.
</li>
<li>
<a href = "day_carry_julian.m">day_carry_julian.m</a>,
carries days to months in a Julian date.
</li>
<li>
<a href = "day_carry_republican.m">day_carry_republican.m</a>,
carries days to months in a Republican date.
</li>
<li>
<a href = "day_carry_roman.m">day_carry_roman.m</a>,
carries days to months in a Roman date.
</li>
<li>
<a href = "day_list_common.m">day_list_common.m</a>,
prints a list of days between two dates.
</li>
<li>
<a href = "days_before_month_common.m">days_before_month_common.m</a>,
returns the number of days before a Common month.
</li>
<li>
<a href = "days_before_month_gregorian.m">days_before_month_gregorian.m</a>,
returns the number of days before a Gregorian month.
</li>
<li>
<a href = "days_before_month_julian.m">days_before_month_julian.m</a>,
returns the number of days before a Julian month.
</li>
<li>
<a href = "deflate_common.m">deflate_common.m</a>,
"deflates" dates in the Common Calendar transition month.
</li>
<li>
<a href = "deflate_english.m">deflate_english.m</a>,
"deflates" dates in the English Calendar transition month.
</li>
<li>
<a href = "easter_ds.m">easter_ds.m</a>,
computes the month and day of Easter for a Gregorian year.
</li>
<li>
<a href = "easter_egr.m">easter_egr.m</a>,
computes the month and day of Easter for a Common year.
</li>
<li>
<a href = "easter_egr2.m">easter_egr2.m</a>,
computes the month and day of Easter for a Common year.
</li>
<li>
<a href = "easter_julian.m">easter_julian.m</a>,
computes the month and day of Easter for a Julian year.
</li>
<li>
<a href = "easter_julian2.m">easter_julian2.m</a>,
computes the month and day of Easter for a Julian year.
</li>
<li>
<a href = "easter_knuth.m">easter_knuth.m</a>,
computes the month and day of Easter for a Gregorian year.
</li>
<li>
<a href = "easter_stewart.m">easter_stewart.m</a>,
computes the month and day of Easter for a Gregorian year.
</li>
<li>
<a href = "epoch_to_jed_akbar.m">epoch_to_jed_akbar.m</a>,
returns the epoch of the Akbar calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_alexandrian.m">epoch_to_jed_alexandrian.m</a>,
returns the epoch of the Alexandrian calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_armenian.m">epoch_to_jed_armenian.m</a>,
returns the epoch of the Armenian calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_bahai.m">epoch_to_jed_bahai.m</a>,
returns the epoch of the Bahai calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_bessel.m">epoch_to_jed_bessel.m</a>,
returns the epoch of the Bessel calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_chinese.m">epoch_to_jed_chinese.m</a>,
returns the epoch of the Chinese calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_common.m">epoch_to_jed_common.m</a>,
returns the epoch of the Common calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_coptic.m">epoch_to_jed_coptic.m</a>,
returns the epoch of the Coptic calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_deccan.m">epoch_to_jed_deccan.m</a>,
returns the epoch of the Deccan calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_eg_civil.m">epoch_to_jed_eg_civil.m</a>,
returns the epoch of the Egyptian Civil calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_eg_lunar.m">epoch_to_jed_eg_lunar.m</a>,
returns the epoch of the Egyptian Lunar calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_english.m">epoch_to_jed_english.m</a>,
returns the epoch of the English calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_ethiopian.m">epoch_to_jed_ethiopian.m</a>,
returns the epoch of the Ethiopian calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_gps.m">epoch_to_jed_gps.m</a>,
returns the epoch of the GPS calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_greek.m">epoch_to_jed_greek.m</a>,
returns the epoch of the Greek calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_gregorian.m">epoch_to_jed_gregorian.m</a>,
returns the epoch of the Gregorian calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_hebrew.m">epoch_to_jed_hebrew.m</a>,
returns the epoch of the Hebrew calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_hindu_lunar.m">epoch_to_jed_hindu_lunar.m</a>,
returns the epoch of the Hindu Lunar calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_hindu_solar.m">epoch_to_jed_hindu_solar.m</a>,
returns the epoch of the Hindu Solar calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_islamic_a.m">epoch_to_jed_islamic_a.m</a>,
returns the epoch of the Islamic A calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_islamic_b.m">epoch_to_jed_islamic_b.m</a>,
returns the epoch of the Islamic B calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_jed.m">epoch_to_jed_jed.m</a>,
returns the epoch of the JED calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_jelali.m">epoch_to_jed_jelali.m</a>,
returns the epoch of the Jelali calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_julian.m">epoch_to_jed_julian.m</a>,
returns the epoch of the Julian calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_khwarizmian.m">epoch_to_jed_khwarizmian.m</a>,
returns the epoch of the Khwarizmian calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_macedonian.m">epoch_to_jed_macedonian.m</a>,
returns the epoch of the Macedonian calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_matlab.m">epoch_to_jed_matlab.m</a>,
epoch of the "MATLAB calendar" as a JED.
</li>
<li>
<a href = "epoch_to_jed_mayan_long.m">epoch_to_jed_mayan_long.m</a>,
returns the epoch of the Mayan Long calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_mjd.m">epoch_to_jed_mjd.m</a>,
returns the epoch of the Modified Julian Day calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_nyt.m">epoch_to_jed_nyt.m</a>,
returns the epoch of the New York Times calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_persian.m">epoch_to_jed_persian.m</a>,
returns the epoch of the Persian calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_persian_solar.m">epoch_to_jed_persian_solar.m</a>,
returns the epoch of the Persian Solar calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_rd.m">epoch_to_jed_rd.m</a>,
returns the epoch of the RD calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_republican.m">epoch_to_jed_republican.m</a>,
returns the epoch of the French Republican calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_roman.m">epoch_to_jed_roman.m</a>,
returns the epoch of the calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_saka.m">epoch_to_jed_saka.m</a>,
returns the epoch of the calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_soor_san.m">epoch_to_jed_soor_san.m</a>,
returns the epoch of the calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_syrian.m">epoch_to_jed_syrian.m</a>,
returns the epoch of the calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_unix.m">epoch_to_jed_unix.m</a>,
returns the epoch of the Unix calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_y2k.m">epoch_to_jed_y2k.m</a>,
returns the epoch of the Y2K calendar as a JED.
</li>
<li>
<a href = "epoch_to_jed_zoroastrian.m">epoch_to_jed_zoroastrian.m</a>,
returns the epoch of the Zoroastrian calendar as a JED.
</li>
<li>
<a href = "frac_borrow_common.m">frac_borrow_common.m</a>,
borrows fractions from days in a Common YMDF date.
</li>
<li>
<a href = "frac_borrow_english.m">frac_borrow_english.m</a>,
borrows fractions from days in an English YMDF date.
</li>
<li>
<a href = "frac_borrow_gregorian.m">frac_borrow_gregorian.m</a>,
borrows fractions from days in a Gregorian YMDF date.
</li>
<li>
<a href = "frac_borrow_hebrew.m">frac_borrow_hebrew.m</a>,
borrows fractions from days in a Hebrew YMDF date.
</li>
<li>
<a href = "frac_borrow_islamic.m">frac_borrow_islamic.m</a>,
borrows fractions from days in an Islamic YMDF date.
</li>
<li>
<a href = "frac_borrow_julian.m">frac_borrow_julian.m</a>,
borrows fractions from days in a Julian YMDF date.
</li>
<li>
<a href = "frac_borrow_republican.m">frac_borrow_republican.m</a>,
borrows fractions from days in a Republican YMDF date.
</li>
<li>
<a href = "frac_borrow_roman.m">frac_borrow_roman.m</a>,
borrows fractions from days in a Roman YMDF date.
</li>
<li>
<a href = "frac_carry_common.m">frac_carry_common.m</a>,
carries fractions to days in a Common YMDF date.
</li>
<li>
<a href = "frac_carry_english.m">frac_carry_english.m</a>,
carries fractions to days in an English YMDF date.
</li>
<li>
<a href = "frac_carry_gregorian.m">frac_carry_gregorian.m</a>,
carries fractions to days in a Gregorian YMDF date.
</li>
<li>
<a href = "frac_carry_hebrew.m">frac_carry_hebrew.m</a>,
carries fractions to days in a Hebrew YMDF date.
</li>
<li>
<a href = "frac_carry_islamic.m">frac_carry_islamic.m</a>,
carries fractions to days in a Hebrew YMDF date.
</li>
<li>
<a href = "frac_carry_republican.m">frac_carry_republican.m</a>,
carries fractions to days in a Republican YMDF date.
</li>
<li>
<a href = "frac_carry_roman.m">frac_carry_roman.m</a>,
carries fractions to days in a Roman YMDF date.
</li>
<li>
<a href = "frac_to_hms.m">frac_to_hms.m</a>,
converts a fractional day into hours, minutes, seconds.
</li>
<li>
<a href = "frac_to_s.m">frac_to_s.m</a>,
writes a positive fraction into a left justified character string.
</li>
<li>
<a href = "hms_to_s.m">hms_to_s.m</a>,
writes an HMS date into a string.
</li>
<li>
<a href = "hour_borrow_common.m">hour_borrow_common.m</a>,
borrows a day of hours.
</li>
<li>
<a href = "hour_carry_common.m">hour_carry_common.m</a>,
carries a day of hours.
</li>
<li>
<a href = "i4_modp.m">i4_modp.m</a>,
returns the positive remainder when I is divided by J.
</li>
<li>
<a href = "i4_to_a.m">i4_to_a.m</a>,
returns the I-th alphabetic character.
</li>
<li>
<a href = "i4_to_roman.m">i4_to_roman.m</a>,
converts an integer to a string of Roman numerals.
</li>
<li>
<a href = "i4_wrap.m">i4_wrap.m</a>,
forces an integer to lie between given limits by wrapping.
</li>
<li>
<a href = "inflate_common.m">inflate_common.m</a>,
"inflates" dates in the Common Calendar transition month.
</li>
<li>
<a href = "inflate_english.m">inflate_english.m</a>,
"inflates" dates in the English Calendar transition month.
</li>
<li>
<a href = "j_borrow_common.m">j_borrow_common.m</a>,
borrows year-days from years in a Common date.
</li>
<li>
<a href = "j_borrow_english.m">j_borrow_english.m</a>,
borrows year-days from years in an English date.
</li>
<li>
<a href = "j_borrow_gregorian.m">j_borrow_gregorian.m</a>,
borrows year-days from years in a Gregorian date.
</li>
<li>
<a href = "j_borrow_hebrew.m">j_borrow_hebrew.m</a>,
borrows year-days from years in a Hebrew date.
</li>
<li>
<a href = "j_borrow_islamic.m">j_borrow_islamic.m</a>,
borrows year-days from years in an Islamic date.
</li>
<li>
<a href = "j_borrow_julian.m">j_borrow_julian.m</a>,
borrows year-days from years in a Julian date.
</li>
<li>
<a href = "j_borrow_republican.m">j_borrow_republican.m</a>,
borrows year-days from years in a Republican date.
</li>
<li>
<a href = "j_borrow_roman.m">j_borrow_roman.m</a>,
borrows year-days from years in a Roman date.
</li>
<li>
<a href = "j_carry_common.m">j_carry_common.m</a>,
carries year-days to years in a Common date.
</li>
<li>
<a href = "j_carry_english.m">j_carry_english.m</a>,
carries year-days to years in a English date.
</li>
<li>
<a href = "j_carry_gregorian.m">j_carry_gregorian.m</a>,
carries year-days to years in a Gregorian date.
</li>
<li>
<a href = "j_carry_hebrew.m">j_carry_hebrew.m</a>,
carries year-days to years in a Hebrew date.
</li>
<li>
<a href = "j_carry_islamic.m">j_carry_islamic.m</a>,
carries year-days to years in an Islamic date.
</li>
<li>
<a href = "j_carry_julian.m">j_carry_julian.m</a>,
carries year-days to years in a Julian date.
</li>
<li>
<a href = "j_carry_republican.m">j_carry_republican.m</a>,
carries year-days to years in a Republican date.
</li>
<li>
<a href = "j_carry_roman.m">j_carry_roman.m</a>,
carries year-days to years in a Roman date.
</li>
<li>
<a href = "jed_check.m">jed_check.m</a>,
checks a Julian Ephemeris Date.
</li>
<li>
<a href = "jed_test.m">jed_test.m</a>,
returns some "interesting" JED's.
</li>
<li>
<a href = "jed_to_cws_gps.m">jed_to_cws_gps.m</a>,
converts a JED to a GPS CWS date.
</li>
<li>
<a href = "jed_to_datenum.m">jed_to_datenum.m</a>,
converts a JED to a MATLAB datenumber.
</li>
<li>
<a href = "jed_to_mayan_long.m">jed_to_mayan_long.m</a>,
converts a JED to a Mayan long count date.
</li>
<li>
<a href = "jed_to_mayan_round.m">jed_to_mayan_round.m</a>,
converts a JED to a Mayan round count date.
</li>
<li>
<a href = "jed_to_mjd.m">jed_to_mjd.m</a>,
converts a JED to a modified JED.
</li>
<li>
<a href = "jed_to_nearest_noon.m">jed_to_nearest_noon.m</a>,
converts a JED to the JED of the nearest noon.
</li>
<li>
<a href = "jed_to_next_noon.m">jed_to_next_noon.m</a>,
converts a JED to the JED of the next noon.
</li>
<li>
<a href = "jed_to_nyt.m">jed_to_nyt.m</a>,
converts a JED to a New York Times date.
</li>
<li>
<a href = "jed_to_rd.m">jed_to_rd.m</a>,
converts a JED to an RD.
</li>
<li>
<a href = "jed_to_ss_unix.m">jed_to_ss_unix.m</a>,
converts a JED to a UNIX SS date.
</li>
<li>
<a href = "jed_to_weekday.m">jed_to_weekday.m</a>,
computes the day of the week from a JED.
</li>
<li>
<a href = "jed_to_year_hebrew.m">jed_to_year_hebrew.m</a>,
the year in the Hebrew calendar when a JED occurred.
</li>
<li>
<a href = "jed_to_yearcount_bessel.m">jed_to_yearcount_bessel.m</a>,
converts a JED to a Bessel year count.
</li>
<li>
<a href = "jed_to_yearcount_julian.m">jed_to_yearcount_julian.m</a>,
converts a JED to a Julian year count.
</li>
<li>
<a href = "jed_to_yjf_common.m">jed_to_yjf_common.m</a>,
converts a JED to a Common YJF date.
</li>
<li>
<a href = "jed_to_yjf_english.m">jed_to_yjf_english.m</a>,
converts a JED to an English YJF date.
</li>
<li>
<a href = "jed_to_yjf_gregorian.m">jed_to_yjf_gregorian.m</a>,
converts a JED to a Gregorian YJF date.
</li>
<li>
<a href = "jed_to_yjf_hebrew.m">jed_to_yjf_hebrew.m</a>,
converts a JED to a Hebrew YJF date.
</li>
<li>
<a href = "jed_to_yjf_islamic_a.m">jed_to_yjf_islamic_a.m</a>,
converts a JED to an Islamic A YJF date.
</li>
<li>
<a href = "jed_to_yjf_islamic_b.m">jed_to_yjf_islamic_b.m</a>,
converts a JED to an Islamic B YJF date.
</li>
<li>
<a href = "jed_to_yjf_julian.m">jed_to_yjf_julian.m</a>,
converts a JED to a Julian YJF date.
</li>
<li>
<a href = "jed_to_yjf_republican.m">jed_to_yjf_republican.m</a>,
converts a JED to a Republican YJF date.
</li>
<li>
<a href = "jed_to_yjf_roman.m">jed_to_yjf_roman.m</a>,
converts a JED to a Roman YJF date.
</li>
<li>
<a href = "jed_to_ymdf_alexandrian.m">jed_to_ymdf_alexandrian.m</a>,
converts a JED to an Alexandrian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_armenian.m">jed_to_ymdf_armenian.m</a>,
converts a JED to an Armenian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_bahai.m">jed_to_ymdf_bahai.m</a>,
converts a JED to a Bahai YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_common.m">jed_to_ymdf_common.m</a>,
converts a JED to a Common YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_coptic.m">jed_to_ymdf_coptic.m</a>,
converts a JED to a Coptic YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_eg_civil.m">jed_to_ymdf_eg_civil.m</a>,
converts a JED to an Egyptian Civil YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_eg_lunar.m">jed_to_ymdf_eg_lunar.m</a>,
converts a JED to an Egyptian Lunar YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_english.m">jed_to_ymdf_english.m</a>,
converts a JED to an English YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_ethiopian.m">jed_to_ymdf_ethiopian.m</a>,
converts a JED to an Ethiopian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_gregorian.m">jed_to_ymdf_gregorian.m</a>,
converts a JED to a Gregorian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_gregorian2.m">jed_to_ymdf_gregorian2.m</a>,
converts a JED to a Gregorian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_hebrew.m">jed_to_ymdf_hebrew.m</a>,
converts a JED to a Hebrew YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_hindu_solar.m">jed_to_ymdf_hindu_solar.m</a>,
converts a JED to a Hindu Solar YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_islamic_a.m">jed_to_ymdf_islamic_a.m</a>,
converts a JED to an Islamic A YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_islamic_b.m">jed_to_ymdf_islamic_b.m</a>,
converts a JED to an Islamic B YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_jelali.m">jed_to_ymdf_jelali.m</a>,
converts a JED to a Jelali YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_julian.m">jed_to_ymdf_julian.m</a>,
converts a JED to a Julian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_julian2.m">jed_to_ymdf_julian2.m</a>,
converts a JED to a Julian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_julian3.m">jed_to_ymdf_julian3.m</a>,
converts a JED to a Julian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_khwarizmian.m">jed_to_ymdf_khwarizmian.m</a>,
converts a JED to a Khwarizmian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_macedonian.m">jed_to_ymdf_macedonian.m</a>,
converts a JED to a Macedonian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_persian.m">jed_to_ymdf_persian.m</a>,
converts a JED to a Persian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_republican.m">jed_to_ymdf_republican.m</a>,
converts a JED to a Republican YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_roman.m">jed_to_ymdf_roman.m</a>,
converts a JED to a Roman YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_saka.m">jed_to_ymdf_saka.m</a>,
converts a JED to a Saka YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_soor_san.m">jed_to_ymdf_soor_san.m</a>,
converts a JED to a Soor San YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_syrian.m">jed_to_ymdf_syrian.m</a>,
converts a JED to a Syrian YMDF date.
</li>
<li>
<a href = "jed_to_ymdf_zoroastrian.m">jed_to_ymdf_zoroastrian.m</a>,
converts a JED to a Zoroastrian YMDF date.
</li>
<li>
<a href = "mayan_long_to_jed.m">mayan_long_to_jed.m</a>,
converts a Mayan Long Count to a JED.