Package org.zkoss.stateless.action.data
Class DateRangeData
java.lang.Object
org.zkoss.stateless.action.data.DateRangeData
- All Implemented Interfaces:
Serializable,ActionData
Represents an action caused by the user changing a date range at the client.
Unlike InputData, a range carries two endpoints, so
IDaterangebox sends begin and end (epoch millis, or
absent for an empty side) rather than a single value. Used by both the
onChange and the onChanging action of IDaterangebox.
- Since:
- 11.0.0
- Author:
- peaker
- See Also:
-
Method Summary
-
Method Details
-
getBegin
Returns the begin endpoint the user selected, ornullif that side is empty. -
getEnd
Returns the end endpoint the user selected, ornullif that side is empty. -
getRange
public org.zkoss.zul.DateRange getRange()Returns both endpoints as aDateRange. Nevernull; either or both ends may benull.
-