com.darwinsys.servlet
Class HTMLDateUtils

java.lang.Object
  extended by com.darwinsys.servlet.HTMLDateUtils

public class HTMLDateUtils
extends java.lang.Object

Utilities for dealing with Dates in the context of Servlets; the print...Calendar routines depend on "calendar.css" being extracted from the distribution and copied to the root of the web application; without this it'll work but but look coyote ugly.


Constructor Summary
HTMLDateUtils()
           
 
Method Summary
static void printMonthCalendar(java.io.PrintWriter out)
          Generate a small HTML month calendar for the current month onto the given PrintWriter
static void printMonthCalendar(java.io.PrintWriter out, java.util.Calendar calendar)
          Generate a small HTML month calendar for the given month onto the given PrintWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLDateUtils

public HTMLDateUtils()
Method Detail

printMonthCalendar

public static void printMonthCalendar(java.io.PrintWriter out)
                               throws java.io.IOException
Generate a small HTML month calendar for the current month onto the given PrintWriter

Parameters:
out - The PrintWriter
Throws:
java.io.IOException

printMonthCalendar

public static void printMonthCalendar(java.io.PrintWriter out,
                                      java.util.Calendar calendar)
                               throws java.io.IOException
Generate a small HTML month calendar for the given month onto the given PrintWriter

Throws:
java.io.IOException


Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.