org.eesgmbh.gimv.shared.util
Class DateUtils

java.lang.Object
  extended by org.eesgmbh.gimv.shared.util.DateUtils

public class DateUtils
extends Object


Constructor Summary
DateUtils()
           
 
Method Summary
static Date ceilTime(Date date)
          Sets the time on the same day to 23:59:59.999
static Date truncateTime(Date date)
          Sets the time on the same day to 00:00:00.000
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateUtils

public DateUtils()
Method Detail

truncateTime

public static Date truncateTime(Date date)
Sets the time on the same day to 00:00:00.000

Parameters:
date -
Returns:
a new date

ceilTime

public static Date ceilTime(Date date)
Sets the time on the same day to 23:59:59.999

Parameters:
date -
Returns:
a new date


Copyright © 2010 - EES GmbH