Previous Next blank.gif blank.gif

Class Year


SYNOPSIS

import HTMLcalendar
class Year
  def __init__(self, year=1997)
  string __module__ = 'HTMLcalendar'
  def load_appointments(self, data)
  def makeindex(self, i)
  def namefile(self, i)
  def write(self, directory='./', prefix = 'cal', mmin=1, mmax=12)

DESCRIPTION

Represent a year as a series of 12 Month instances.

def load_appointments(self, data)

Load each entry in the appointment list.

def makeindex(self, i)

Utility method to generate the navigation hyperlinks for each month. To be placed at the top of each page.

def namefile(self, i)

Generate the html filenames.

def write(self, directory='./', prefix = 'cal', mmin=1, mmax=12)

Causes the emission of all pages.

To restrict ranges of months, use 3rd and 4th arg to specify starting and stopping months by number.

SEE ALSO

HTMLcalendar


Previous Next blank.gif blank.gif
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: dev@null
Generated: Tue Apr 20, 1999