Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mvsteenb.javauitransformer.xmltransformer.util
Class TimeUtil  view TimeUtil download TimeUtil.java

java.lang.Object
  extended bycom.mvsteenb.javauitransformer.xmltransformer.util.TimeUtil

public class TimeUtil
extends java.lang.Object

com.mvsteenb.javauitransformer.xmltransformer.util

About

This class is part of the JavaUIFormatter version @build.version@ (build #@build.number@) which was built on @build.date@.

Description

Time utility class. Used to do various for date or time calculations.

Free Software

Copyright (C) 2003 Mario Van Steenberghe

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

Please contact me at mario.vansteenberghe@pandora.be for more information.

Revision History

Oct 2, 2003 : mvsteenb : Initial Revision


Constructor Summary
TimeUtil()
           
 
Method Summary
static long timeDifference(java.util.Date startTime, java.util.Date endTime)
          Calculates the time difference in milliseconds between two given times :
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeUtil

public TimeUtil()
Method Detail

timeDifference

public static long timeDifference(java.util.Date startTime,
                                  java.util.Date endTime)
Calculates the time difference in milliseconds between two given times :