CLRA 0.1.2

com.clra.web
Class WebUtils

java.lang.Object
  |
  +--com.clra.web.WebUtils

public class WebUtils
extends Object

Some utilities related to presenting information to the user.

Version:
$Revision: 1.2 $ $Date: 2002/02/18 18:07:29 $
Author:
Rick Hall

Constructor Summary
WebUtils()
           
 
Method Summary
static Date maximumDateInMonth(int month, int year)
          Returns the last (or nearly last) Date in (or nearly in) a month.
static Date minimumDateInMonth(int month, int year)
          Returns the first (or nearly first) Date in a month.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebUtils

public WebUtils()
Method Detail

minimumDateInMonth

public static Date minimumDateInMonth(int month,
                                      int year)
Returns the first (or nearly first) Date in a month.

FIXME: The Java Calender class and Oracle date functions seem to disagree about how to treat times around 12 midnight, which leads to some fuzziness around the beginning and end of a month.


maximumDateInMonth

public static Date maximumDateInMonth(int month,
                                      int year)
Returns the last (or nearly last) Date in (or nearly in) a month.

FIXME: The Java Calender class and Oracle date functions seem to disagree about how to treat times around 12 midnight, which leads to some fuzziness around the beginning and end of a month.


CLRA 0.1.2