diff options
| author | Jay Belanger | 2012-11-17 15:30:43 -0600 |
|---|---|---|
| committer | Jay Belanger | 2012-11-17 15:30:43 -0600 |
| commit | c9f618db44110a48efdfe166ddc43ce0cb787852 (patch) | |
| tree | 1a05bca6d9f5982bb6bf7d0c8f10e0661ea5946e /lib-src | |
| parent | 3804f7bc781ab815435520e2600215377336dc86 (diff) | |
| download | emacs-c9f618db44110a48efdfe166ddc43ce0cb787852.tar.gz emacs-c9f618db44110a48efdfe166ddc43ce0cb787852.zip | |
* calc/calc.el (calc-gregorian-switch): New variable.
* calc/calc-forms.el (math-day-in-year, math-dt-before-p)
(math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
(math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
(math-leap-year-p): Add option to distinguish between Julian
and Gregorian calendars.
(math-day-number): Use `math-day-in-year' to do the computations.
(math-absolute-from-dt): Rename from `math-absolute-from-date'.
Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
to do the computations.
(math-date-to-dt): Use `math-date-to-julian-dt' and `math-date-to-gregorian-dt'
to do the computations.
(calcFunc-weekday, math-format-date-part): Use the new version of the DATE to
determine the weekday.
(calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch' when necessary.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions