|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osesb.utilities.misc.DocumentumUTCDateTimeHelper
public class DocumentumUTCDateTimeHelper
Static methods for dealing with date-time queries against the Documentum connector where the date-time field is given as a string representing a UTC. For example: '2006-10-01T12:00:00Z'.
| Field Summary | |
|---|---|
protected static java.lang.String |
thisClassName
The full name of this class. |
static java.lang.String |
UTC_DATE_FORMAT
UTC Date format string. |
static java.lang.String |
UTC_TIME_FORMAT
UTC Time format string. |
| Constructor Summary | |
|---|---|
DocumentumUTCDateTimeHelper()
|
|
| Method Summary | |
|---|---|
static java.util.Date |
convertUTCStringToDate(java.lang.String utcString)
Converts a UTC String to a java.util.Date in the local time zone. |
static void |
main(java.lang.String[] args)
main() For testing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String thisClassName
public static final java.lang.String UTC_DATE_FORMAT
public static final java.lang.String UTC_TIME_FORMAT
| Constructor Detail |
|---|
public DocumentumUTCDateTimeHelper()
| Method Detail |
|---|
public static java.util.Date convertUTCStringToDate(java.lang.String utcString)
throws java.lang.Exception
utcString - The UTC date-time String.
java.lang.Exception - if an error is encountered during the conversion.public static void main(java.lang.String[] args)
args - commandline arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||