net.sf.nachocalendar.event

Class MonthChangeEvent


public class MonthChangeEvent
extends EventObject

Event fired when a month must be changed because a day under or overflows.
Author:
Ignacio Merani

Constructor Summary

MonthChangeEvent(Object source, Date newdate)
Creates a new instance of MonthChangeEvent.

Method Summary

Date
getDate()
Getter for property date.
void
setDate(Date date)
Setter for property date.

Constructor Details

MonthChangeEvent

public MonthChangeEvent(Object source,
                        Date newdate)
Creates a new instance of MonthChangeEvent.
Parameters:
source - the source.
newdate - the new month.

Method Details

getDate

public Date getDate()
Getter for property date.
Returns:
Value of property date.

setDate

public void setDate(Date date)
Setter for property date.
Parameters:
date - New value of property date.