All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class w3c.util.TimeFormatter
java.lang.Object
   |
   +----w3c.util.TimeFormatter
  -  public class TimeFormatter
  -  extends Object
This class does date formatting using the same format strings accepted by the
 strftime(3) UNIX call. This class has static methods only.
   
  -   TimeFormatter() TimeFormatter()
-  
   
  -   format(Date, String) format(Date, String)
-   Format the given date as a string, according to the given
 format string.
  
-   main(String[]) main(String[])
-   For testing purposes
   
 TimeFormatter
TimeFormatter
 public TimeFormatter()
   
 format
format
 public static String format(Date date,
                             String format)
  -  Format the given date as a string, according to the given
 format string.
 The format string is of the form used by the strftime(3) UNIX
 call.
   
- 
    -  Parameters:
    
-  date - The date to format
    -  format - The formatting string
    
-  Returns:
    
-  the String with the formatted date.
  
 
 main
main
 public static void main(String args[])
  -  For testing purposes
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index