lumis.report.util
Class ReportUtil

Package class diagram package ReportUtil
java.lang.Object
  extended by lumis.report.util.ReportUtil

public class ReportUtil
extends Object

Utility methods for use in reports.

Since:
4.2.0

Constructor Summary
ReportUtil()
           
 
Method Summary
static Date truncateDateTime(Date date)
          Returns a date that represents the same day as the given date, but its hour, minute, seconds and milliseconds are set to zero.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportUtil

public ReportUtil()
Method Detail

truncateDateTime

public static Date truncateDateTime(Date date)
Returns a date that represents the same day as the given date, but its hour, minute, seconds and milliseconds are set to zero.

Parameters:
date - the date.
Returns:
the date of the same day of the given date, but at time 00:00.
Since:
4.2.0


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.