eu.bootstrep.Utilities
Class DateTime

java.lang.Object
  extended by eu.bootstrep.Utilities.DateTime

public class DateTime
extends java.lang.Object

This class initializes a new DateTime object used to log execution time of variuos steps.
It is used for logging and statistics purposes.


Constructor Summary
DateTime(java.lang.Integer modus)
          Creates a new instance of DateTime
 
Method Summary
 java.lang.String dateAsString(java.lang.Integer modus)
          This method returns the date as string according to the modus parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTime

public DateTime(java.lang.Integer modus)
Creates a new instance of DateTime

Parameters:
modus - An integer selecting the datetime format
Method Detail

dateAsString

public java.lang.String dateAsString(java.lang.Integer modus)
This method returns the date as string according to the modus parameter

Parameters:
modus - 0 for date; 1 for timestamp; 2 only time
Returns:
the date as string