Class TimeUtil

java.lang.Object
whiteboard.time.TimeUtil

public class TimeUtil
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    TimeUtil()  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String getDateDifference​(java.util.Date date1, java.util.Date date2)  
    static long[] getElapsedTime​(long startTime, long currentTime)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getDateDifference

      public static java.lang.String getDateDifference​(java.util.Date date1, java.util.Date date2)
    • getElapsedTime

      public static long[] getElapsedTime​(long startTime, long currentTime)
      Parameters:
      startTime -
      currentTime -
      Returns: