Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.7.0)

E10758-08

oracle.jbo.jbotester.load
Class SimpleDateFormatter

java.lang.Object
  extended by oracle.jbo.jbotester.load.SimpleDateFormatter

public class SimpleDateFormatter
extends java.lang.Object

Wrapper around SimpleDateFormat. This class handles the time zone offset to format elapsed times.


Constructor Summary
SimpleDateFormatter(java.lang.String pattern)
           
 
Method Summary
 java.lang.String format(java.util.Date date)
           
 java.lang.String format(long date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDateFormatter

public SimpleDateFormatter(java.lang.String pattern)
Parameters:
pattern - the pattern to display ("HH:mm:ss")
See Also:
SimpleDateFormat.SimpleDateFormat(String)
Method Detail

format

public java.lang.String format(long date)
Parameters:
date - the elapsed time
Returns:
the formatted string

format

public java.lang.String format(java.util.Date date)
Parameters:
date - the elapsed time as date
Returns:
the formatted string

Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.7.0)

E10758-08

Copyright © 1997, 2013, Oracle. All rights reserved.