gov.nasa.pds.vtool.time
Class ToolsTime

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

public class ToolsTime
extends Object

Class that can get the date and time

Author:
mcayanan

Constructor Summary
ToolsTime()
           
 
Method Summary
 String getTime(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 String getTime(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-2014 Planetary Data System. All Rights Reserved.