com.pow2.util
Class SQLUtil
java.lang.Object
com.pow2.util.SQLUtil
- public class SQLUtil
- extends Object
SQL Util class.
Method Summary |
static Date |
getDate(String dateString)
Get a Date object from the input date string representation.
|
static Date |
getDate(String dateString,
String format)
Get a Date object from the input date string representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLUtil
public SQLUtil()
getDate
public static Date getDate(String dateString)
- Get a Date object from the input date string representation.
The date representation has got the "dd/MM/yyyy" format.
- Parameters:
dateString
- the date string representation
- Returns:
- the Date object builded from the input date string
getDate
public static Date getDate(String dateString,
String format)
- Get a Date object from the input date string representation.
- Parameters:
dateString
- the date string representationformat
- the SimpleDateFormat format.
See java.text.SimpleDateFormat
api for
further informations.
- Returns:
- the Date object builded from the input date string
Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.