gov.nasa.pds.tools.time
Class ToolsTime

java.lang.Object
  extended by gov.nasa.pds.tools.time.ToolsTime

public class ToolsTime
extends java.lang.Object

Class that can get the date and time

Author:
mcayanan

Constructor Summary
ToolsTime()
           
 
Method Summary
 java.lang.String getTime(java.text.SimpleDateFormat df)
          Get the current Date and Time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolsTime

public ToolsTime()
Method Detail

getTime

public java.lang.String getTime(java.text.SimpleDateFormat df)
Get the current Date and Time

Parameters:
df - How the date and time will be represented. Use the patterns and letters defined in Java's SimpleDateFormat class.
Returns:
the current date and time


Copyright © 2005-2007 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.