Skip to content
Snippets Groups Projects
Commit f250e301 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

uses inherit foo::bar

Rev: lib/modules/Calendar.pmod/Gregorian.pmod:1.9
Rev: lib/modules/Calendar.pmod/ISO.pmod:1.3
parent ea54831a
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,6 @@ class Year
month_mapping=
mkmapping(Array.map(month_names,lower_case),
indices(allocate(13))[1..]);
werror(sprintf("%O\n",month_mapping));
}
n=month_mapping[lower_case(n)];
if (!n) return 0;
......
// IS-8601, international standard
inherit Calendar.Gregorian;
inherit Calendar.Gregorian:Gregorian;
class Year
{
inherit Calendar.Gregorian.Year;
inherit Gregorian::Year;
int leap_day()
{
......@@ -15,7 +15,7 @@ class Year
class Week
{
inherit Calendar.Gregorian.Week;
inherit Gregorian::Week;
int yday()
{
......@@ -56,7 +56,7 @@ class Week
class Day
{
inherit Calendar.Gregorian.Day;
inherit Gregorian::Day;
int week_day()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment