diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/churchslavonic/cu-calendar.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/churchslavonic/cu-calendar.sty | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/churchslavonic/cu-calendar.sty b/Master/texmf-dist/tex/latex/churchslavonic/cu-calendar.sty index eb1a80914bb..1c2c685a64c 100644 --- a/Master/texmf-dist/tex/latex/churchslavonic/cu-calendar.sty +++ b/Master/texmf-dist/tex/latex/churchslavonic/cu-calendar.sty @@ -34,10 +34,10 @@ \the\numexpr #1 + \intcalcDiv{#2}{400} + 32083 - 32045\relax% }% % -\def\cu@jdnFromJulianDate#1{% +\def\cu@jdnFromDateJulian#1{% \cu@jdn #1-\@firstoftwo }% -\def\cu@jdnFromGregorianDate#1{% +\def\cu@jdnFromDateGregorian#1{% \cu@jdn #1-\greg@ }% % @@ -72,10 +72,10 @@ }}% % \def\cu@julianToGregorian#1{% - \cu@calendarGregorian{\cu@jdnFromJulianDate{#1}}% + \cu@calendarGregorian{\cu@jdnFromDateJulian{#1}}% }% \def\cu@gregorianToJulian#1{% - \cu@calendarJulian{\cu@jdnFromGregorianDate{#1}}% + \cu@calendarJulian{\cu@jdnFromDateGregorian{#1}}% }% \let\cu@julianFromGregorian\cu@gregorianToJulian \let\cu@gregorianFromJulian\cu@julianToGregorian @@ -85,10 +85,10 @@ \let\cuAsJulian\cu@julianFromGregorian \let\cuAsGregorian\cu@gregorianFromJulian % -\def\cuJulianDate#1{% +\def\cuDateJulian#1{% \expandafter\cu@formatDate\number\cu@julianFromGregorian{#1}\relax }% -\def\cuJulianToday{% +\def\cuTodayJulian{% \cu@julianFromGregorian{\year -\month -\day}% }% \def\cuToday{% @@ -141,8 +141,8 @@ \expandafter\let\expandafter\cu@current@dateformat\csname cs@dateformat@#1\endcsname }% \def\cu@@formatDate#1-#2-#3\relax{% - \edef\cu@JDN{\cu@jdnFromGregorianDate{#1-#2-#3}}% - \edef\cu@JDN@March@First{\cu@jdnFromJulianDate{#1-3-1}}% + \edef\cu@JDN{\cu@jdnFromDateGregorian{#1-#2-#3}}% + \edef\cu@JDN@March@First{\cu@jdnFromDateJulian{#1-3-1}}% \edef\cuYEAR{\number #1}% \edef\cuYEARAM{\the\numexpr #1 + 5508\ifnum\cu@JDN<\cu@JDN@March@First\else + 1\fi}% \edef\cuMONTH{\number #2}% @@ -151,9 +151,9 @@ \edef\cuINDICTION{\intcalcAdd{15}{\intcalcMod{#1 - 312}{-15}}}% \edef\cuDISPLAYDATE{\cu@current@dateformat}% }% -\def\cu@@formatJulianDate#1-#2-#3\relax{% - \edef\cu@JDN{\cu@jdnFromJulianDate{#1-#2-#3}}% - \edef\cu@JDN@March@First{\cu@jdnFromJulianDate{#1-3-1}}% +\def\cu@@formatDateJulian#1-#2-#3\relax{% + \edef\cu@JDN{\cu@jdnFromDateJulian{#1-#2-#3}}% + \edef\cu@JDN@March@First{\cu@jdnFromDateJulian{#1-3-1}}% \edef\cuYEAR{\number #1}% \edef\cuYEARAM{\the\numexpr #1 + 5508\ifnum\cu@JDN<\cu@JDN@March@First\else + 1\fi}% \edef\cuMONTH{\number #2}% @@ -169,14 +169,14 @@ \egroup }% % -\protected\def\cu@formatJulianDate#1-#2-#3\relax{% +\protected\def\cu@formatDateJulian#1-#2-#3\relax{% \bgroup - \cu@@formatJulianDate#1-#2-#3\relax + \cu@@formatDateJulian#1-#2-#3\relax \cuDISPLAYDATE \egroup }% \cuDefineDateFormat{default}{% - \cuNum{\cuDAY}~\cuMonthName{\cuMONTH}~лѣ́та~\cuNum{\cuYEAR}% + \cuNum{\cuDAY}~\cuMonthName{\cuMONTH},~лѣ́та~\cuNum{\cuYEAR}% }% \cuUseDateFormat{default}% % |