com.miginfocom.util.dates
Interface DateRangeRounder

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BoundaryRounder, MillisRounder

public interface DateRangeRounder
extends java.io.Serializable

Interface to a class that round dates/times to specified boundaries


Method Summary
 MutableDateRange round(MutableDateRange dateRange)
          Rounds the start and/or end dates and possibly ajdusts the not rounded date/time so the length will be same.
 

Method Detail

round

MutableDateRange round(MutableDateRange dateRange)
Rounds the start and/or end dates and possibly ajdusts the not rounded date/time so the length will be same.

Parameters:
dateRange - The MutableDateRange to round. Will be changed.
Returns:
dateRange for the possiblility to chain.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.