de.bea.domingo
Interface DDateRange

All Known Implementing Classes:
GregorianDateRange, GregorianDateTimeRange, GregorianTimeRange

public interface DDateRange

A date range, can be a range of date-only calendars or a range of time-only calendars.

Author:
Kurt Riede

Method Summary
 java.util.Calendar getFrom()
          Returns the start date/time of the range.
 java.util.Calendar getTo()
          Returns the end date/time of the range.
 void setFrom(java.util.Calendar from)
          Sets the start date/time of the range.
 void setTo(java.util.Calendar to)
          Sets the end date/time of the range.
 

Method Detail

getFrom

java.util.Calendar getFrom()
Returns the start date/time of the range.

Returns:
start date/time of date range

setFrom

void setFrom(java.util.Calendar from)
Sets the start date/time of the range.

Parameters:
from - start date/time of date range

getTo

java.util.Calendar getTo()
Returns the end date/time of the range.

Returns:
end date/time of date range

setTo

void setTo(java.util.Calendar to)
Sets the end date/time of the range.

Parameters:
to - end date/time of date range


Domingo Java-API