see r11837 for libholiday

svn: r11838
This commit is contained in:
Rob G. Healey 2009-02-04 05:45:40 +00:00
parent ac2e0e2547
commit c5c4b1b3f9

View File

@ -36,21 +36,12 @@ import os
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
from gen.plug import PluginManager, Plugin from gen.plug import PluginManager, Plugin
import gen.lib
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
# Support functions # Support functions
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
def _make_date(year, month, day):
"""
Return a Date object of the particular year/month/day.
"""
retval = gen.lib.Date()
retval.set_yr_mon_day(year, month, day)
return retval
def easter(year): def easter(year):
""" """
Computes the year/month/day of easter. Based on work by Computes the year/month/day of easter. Based on work by