Compoze Software, Inc.

portlets.compoze.groupware.calendar
Class Month.Day

java.lang.Object
  extended byportlets.compoze.groupware.calendar.Month.Item
      extended byportlets.compoze.groupware.calendar.Month.Day
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Month

public static class Month.Day
extends Month.Item
implements java.io.Serializable

This inner class represents a day in the month.

See Also:
Serialized Form

Method Summary
 java.util.Date getDate()
          Gets the date of this day.
 int getDayOfMonth()
          Gets the day of month for this day.
 boolean isInMonth()
          Checks if the day occurs in the month.
 boolean isToday()
          Checks if the given date is today.
 
Methods inherited from class portlets.compoze.groupware.calendar.Month.Item
getDay, getMonth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isToday

public boolean isToday()
Checks if the given date is today.

Returns:
true if the date is today; false otherwise

getDayOfMonth

public int getDayOfMonth()
Gets the day of month for this day.

Returns:
the day of month for this day

isInMonth

public boolean isInMonth()
Checks if the day occurs in the month.

Returns:
true if the day occurs in the month; false otherwise

getDate

public java.util.Date getDate()
Gets the date of this day.

Returns:
the date

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.