com.croftsoft.core.text
Class DateFormatLib

java.lang.Object
  extended by com.croftsoft.core.text.DateFormatLib

public final class DateFormatLib
extends Object

Static library methods for formatting dates.

Since:
2001-06-28
Version:
$Id: DateFormatLib.java,v 1.3 2006/01/24 21:10:52 croft Exp $
Author:
David Wallace Croft

Method Summary
static void main(String[] args)
           
static String toIsoDateFormat()
          Provide a default argument of new Date().
static String toIsoDateFormat(Date date)
          Returns a String in ISO date format (yyyy-MM-dd hh:mm:ss).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)

toIsoDateFormat

public static String toIsoDateFormat(Date date)
Returns a String in ISO date format (yyyy-MM-dd hh:mm:ss).


toIsoDateFormat

public static String toIsoDateFormat()
Provide a default argument of new Date().


CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)