Author: nbelaevski
Date: 2008-06-26 14:13:32 -0400 (Thu, 26 Jun 2008)
New Revision: 9255
Modified:
trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java
Log:
http://jira.jboss.com/jira/browse/RF-3764
Modified:
trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java 2008-06-26
18:13:27 UTC (rev 9254)
+++
trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java 2008-06-26
18:13:32 UTC (rev 9255)
@@ -13,11 +13,13 @@
private Date currentDate = null;
private String currentDateString = null;
+ @Deprecated
public CurrentDateChangeEvent(UIComponent component, Date curentDate) {
super(component);
this.currentDate = curentDate;
}
+
public CurrentDateChangeEvent(UIComponent component, String curentDateString) {
super(component);
this.currentDateString = curentDateString;
@@ -36,6 +38,10 @@
return currentDate;
}
+ public void setCurrentDate(Date currentDate) {
+ this.currentDate = currentDate;
+ }
+
public String getCurrentDateString() {
return currentDateString;
}