From ece7d18cf35374bf4e26d041799cda8f791c89f8 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 7 Jul 2003 10:58:37 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@2 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../at/gv/egovernment/moa/util/DateTimeUtils.html | 241 +++++++++++++++++++++ 1 file changed, 241 insertions(+) create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html new file mode 100644 index 000000000..c0d022351 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html @@ -0,0 +1,241 @@ + + + + + + +MOA SP/SS Server Internal API: Class DateTimeUtils + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +at.gv.egovernment.moa.util +
+Class DateTimeUtils

+
+java.lang.Object
+  |
+  +--at.gv.egovernment.moa.util.DateTimeUtils
+
+
+
+
public class DateTimeUtils
extends Object
+ +

+Utility for parsing and building XML type dateTime, + according to ISO 8601. +

+

+
Version:
$Id$
+
Author:
Patrick Peck
+
See Also:
http://www.w3.org/2001/XMLSchema-datatypes"
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
DateTimeUtils() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static StringbuildDateTime(Calendar cal) + +
+          Builds a dateTime value from a Calendar value.
+static DateparseDateTime(String dateTime) + +
+          Parse a String containing a date and time instant, given in + ISO 8601 format.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+DateTimeUtils

+
+public DateTimeUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+buildDateTime

+
+public static String buildDateTime(Calendar cal)
+
+
Builds a dateTime value from a Calendar value.
+
Parameters:
cal - the Calendar value
Returns:
the dateTime value
+
+
+
+ +

+parseDateTime

+
+public static Date parseDateTime(String dateTime)
+                          throws ParseException
+
+
Parse a String containing a date and time instant, given in + ISO 8601 format.
+
Parameters:
dateTime - The String to parse.
Returns:
The Date representation of the contents of + dateTime.
Throws:
ParseException - Parsing the dateTime failed.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + -- cgit v1.2.3