Content deleted Content added
No edit summary |
No edit summary |
||
Line 4:
this.calendars = {};
function this
for index in ... do
this.calendars[index] = moduleName; -- loaded lazily
Line 10:
end;
this
this
-- more calendars may be added later in new modules pluggable here into this factory...
function this
if index == nil then
index = 0; -- use the default calendar (Gregorian as set above)
Line 42:
-- main functions
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
Line 51:
end;
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
Line 60:
end;
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
Line 69:
end;
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
Line 78:
end;
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
Line 87:
end;
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
Line 96:
end;
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
Line 105:
end;
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
Line 114:
end;
function this
calendar = this
if calendar == nil then
return tostring(Error.error{"Calendar ''" .. calendar .. "'' is either missing or unknown!"});
|