com.jdc.type
Class TimestampHelper
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.type.TimestampHelper
- All Implemented Interfaces:
- DefaultLocale
- public class TimestampHelper
- extends Object
- implements DefaultLocale
TimestampHelper is a utility class that provides advanced Timestamp
manipulation methods to simplify the manipulation of Timestamp objects.
- Version:
- 1.0
- Author:
- Jay Damon
|
Method Summary |
static Timestamp |
toDate(int date)
Returns a Timestamp for an int date value in YYYYMMDD
format. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimestampHelper
public TimestampHelper()
- Constructs a new
TimestampHelper object for the default locale.
TimestampHelper
public TimestampHelper(Locale locale)
- Constructs a new
TimestampHelper object for the specified Locale.
toDate
public static Timestamp toDate(int date)
- Returns a
Timestamp for an int date value in YYYYMMDD
format. Hours, minutes, seconds, and milliseconds are set to 0 (zero).
- Returns:
- The corresponding
Timestamp for the int date value.
Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.