zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #24043
[Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
Juan Zacarias has proposed merging lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba.
Commit message:
updated datetime module to the Zorba3.0 namespace.
Requested reviews:
Chris Hillery (ceejatec)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/update3.0_datetime-module/+merge/172685
Updated datetime module to the Zorba3.0 namespace.
--
https://code.launchpad.net/~zorba-coders/zorba/update3.0_datetime-module/+merge/172685
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'modules/CMakeLists.txt'
--- modules/CMakeLists.txt 2013-06-28 02:33:07 +0000
+++ modules/CMakeLists.txt 2013-07-02 22:00:50 +0000
@@ -16,6 +16,7 @@
ADD_SUBDIRECTORY(org)
ADD_SUBDIRECTORY(functx)
ADD_SUBDIRECTORY(xqxq)
+ADD_SUBDIRECTORY(dateTime)
ADD_SUBDIRECTORY(w3c)
ADD_SUBDIRECTORY(full-text)
=== modified file 'modules/com/zorba-xquery/www/modules/CMakeLists.txt'
--- modules/com/zorba-xquery/www/modules/CMakeLists.txt 2013-06-28 02:33:07 +0000
+++ modules/com/zorba-xquery/www/modules/CMakeLists.txt 2013-07-02 22:00:50 +0000
@@ -52,8 +52,6 @@
MARK_AS_ADVANCED(ZORBA_HAVE_CURL)
DECLARE_ZORBA_SCHEMA(FILE xqdoc.xsd URI "http://www.xqdoc.org/1.0")
-DECLARE_ZORBA_MODULE(FILE datetime.xq VERSION 2.0
- URI "http://www.zorba-xquery.com/modules/datetime")
DECLARE_ZORBA_MODULE(FILE fetch.xq VERSION 2.0
URI "http://www.zorba-xquery.com/modules/fetch")
DECLARE_ZORBA_MODULE(FILE math.xq VERSION 2.0
=== added directory 'modules/dateTime'
=== added file 'modules/dateTime/CMakeLists.txt'
--- modules/dateTime/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ modules/dateTime/CMakeLists.txt 2013-07-02 22:00:50 +0000
@@ -0,0 +1,2 @@
+DECLARE_ZORBA_MODULE(FILE datetime.xq VERSION 2.0
+ URI "http://zorba.io/modules/datetime")
\ No newline at end of file
=== renamed file 'modules/com/zorba-xquery/www/modules/datetime.xq' => 'modules/dateTime/datetime.xq'
--- modules/com/zorba-xquery/www/modules/datetime.xq 2013-06-25 03:55:20 +0000
+++ modules/dateTime/datetime.xq 2013-07-02 22:00:50 +0000
@@ -17,34 +17,34 @@
:)
(:~
- : This module provides functions to retrieve the current dateTime and to
- : parse dates and times.
- :
- : In contrast to the current-dateTime functions specified in
+ : <p>This module provides functions to retrieve the current dateTime and to
+ : parse dates and times.</p>
+ : <p/>
+ : <p>In contrast to the current-dateTime functions specified in
: <a href="http://www.w3.org/TR/xpath-functions-30/">XQuery Functions and
: Operators</a>, the functions in this module are nondeterministic, that is,
: they do not return the current dateTime from the dynamic context, but return
- : the actual value.
- :
- : Dates and times are parsed according to the format given by
- : <a href="http://pubs.opengroup.org/onlinepubs/007904975/functions/strptime.html">strptime</a>.
- : However, date and time values must be "complete."
- : For a date, the year and either month and day or day of the year must have
- : been parsed.
- : For a time, the hour must have been parsed.
+ : the actual value.</p>
+ : <p/>
+ : <p>Dates and times are parsed according to the format given by
+ : <a href="http://pubs.opengroup.org/onlinepubs/007904975/functions/strptime.html">strptime</a>.</p>
+ : <p>However, date and time values must be "complete."</p>
+ : <p>For a date, the year and either month and day or day of the year must have
+ : been parsed.</p>
+ : <p>For a time, the hour must have been parsed.
: (If either the minute, second, or timezone has not been parsed, they default
- : to 0.)
- : For a dateTime, the parsing requirements of both date and time must be met.
- :
- : When a locale is given,
+ : to 0.)</p>
+ : <p>For a dateTime, the parsing requirements of both date and time must be met.</p>
+ : <p/>
+ : <p>When a locale is given,
: it must be of the form {lang}[{sep}{country}[{encoding}]] where
: {lang} is an ISO 639-1 2-letter or 639-2 3-letter language code,
: {sep} is either '-' or '_',
: {country} is an ISO 3166-1 2-letter country code,
- : and {encoding} is any string that begins with a '.'.
- : The {sep}, {country}, and {encoding} are optional;
- : {encoding} is always ignored.
- : Examples include: de, en-US, fr_CA, ru_RU.UTF-8.
+ : and {encoding} is any string that begins with a '.'.</p>
+ : <p>The {sep}, {country}, and {encoding} are optional;
+ : {encoding} is always ignored.</p>
+ : <p>Examples include: de, en-US, fr_CA, ru_RU.UTF-8.</p>
:
: @author Matthias Brantner
: @author Paul J. Lucas
@@ -52,7 +52,7 @@
: @project Zorba/XQuery Data Model/Atomic/Datetime
:
:)
-module namespace datetime = "http://www.zorba-xquery.com/modules/datetime";
+module namespace datetime = "http://zorba.io/modules/datetime";
declare namespace an = "http://www.zorba-xquery.com/annotations";
declare namespace zerr = "http://zorba.io/modules/zorba-errors";
@@ -61,9 +61,9 @@
declare option ver:module-version "2.0";
(:~
- : Gets the current date value in Universal time.
- : Note that this function is not stable: it returns the value of the date when
- : the function is invoked.
+ : <p>Gets the current date value in Universal time.</p>
+ : <p>Note that this function is not stable: it returns the value of the date when
+ : the function is invoked.</p>
:
: @return the non-stable date value
:)
@@ -71,9 +71,9 @@
as xs:date external;
(:~
- : Gets the current dateTime value in Universal time.
- : Note that this function is not stable: it returns the value of the date and
- : time when the function is invoked.
+ : <p>Gets the current dateTime value in Universal time.</p>
+ : <p>Note that this function is not stable: it returns the value of the date and
+ : time when the function is invoked.</p>
:
: @return the non-stable datetime value
:)
@@ -81,9 +81,9 @@
as xs:dateTimeStamp external;
(:~
- : Return the current time value in Universal time.
- : Note that this function is not stable: it returns the value of the time when
- : the function is invoked.
+ : <p>Return the current time value in Universal time.</p>
+ : <p>Note that this function is not stable: it returns the value of the time when
+ : the function is invoked.</p>
:
: @return the non-stable time value
:)
@@ -91,7 +91,7 @@
as xs:time external;
(:~
- : Parses a date from a string in the current locale.
+ : <p>Parses a date from a string in the current locale.</p>
:
: @param $input The string to parse.
: @param $format The format string containing zero or more conversion
@@ -115,7 +115,7 @@
) as xs:date external;
(:~
- : Parses a date from a string in the given locale.
+ : <p>Parses a date from a string in the given locale.</p>
:
: @param $input The string to parse.
: @param $format The format string containing zero or more conversion
@@ -144,7 +144,7 @@
) as xs:date external;
(:~
- : Parses a dateTime from a string in the current locale.
+ : <p>Parses a dateTime from a string in the current locale.</p>
:
: @param $input The string to parse.
: @param $format The format string containing zero or more conversion
@@ -167,7 +167,7 @@
) as xs:dateTime external;
(:~
- : Parses a dateTime from a string in the given locale.
+ : <p>Parses a dateTime from a string in the given locale.</p>
:
: @param $input The string to parse.
: @param $format The format string containing zero or more conversion
@@ -196,7 +196,7 @@
) as xs:dateTime external;
(:~
- : Parses a time from a string in the current locale.
+ : <p>Parses a time from a string in the current locale.</p>
:
: @param $input The string to parse.
: @param $format The format string containing zero or more conversion
@@ -220,7 +220,7 @@
) as xs:time external;
(:~
- : Parses a time from a string in the given locale.
+ : <p>Parses a time from a string in the given locale.</p>
:
: @param $input The string to parse.
: @param $format The format string containing zero or more conversion
@@ -249,8 +249,8 @@
) as xs:time external;
(:~
- : Converts the given number of milliseconds since epoch into its corresponding
- : xs:dateTime.
+ : <p>Converts the given number of milliseconds since epoch into its corresponding
+ : xs:dateTime.</p>
:
: @param $millis The number of milliseconds since epoch.
: @return Returns an xs:dateTime.
@@ -260,7 +260,7 @@
as xs:dateTime external;
(:~
- : Gets the the number of milliseconds since epoch.
+ : <p>Gets the the number of milliseconds since epoch.</p>
:
: @return the said number of milliseconds.
:)
@@ -268,7 +268,7 @@
as xs:long external;
(:~
- : Gets the offset of the current timezone from Universal time.
+ : <p>Gets the offset of the current timezone from Universal time.</p>
:
: @return the offset in seconds with positive values being east of the prime
: meridian.
=== modified file 'src/context/static_context.cpp'
--- src/context/static_context.cpp 2013-06-26 02:30:04 +0000
+++ src/context/static_context.cpp 2013-07-02 22:00:50 +0000
@@ -477,7 +477,7 @@
const char*
static_context::ZORBA_DATETIME_FN_NS =
-"http://www.zorba-xquery.com/modules/datetime";
+"http://zorba.io/modules/datetime";
const char*
static_context::ZORBA_XML_FN_OPTIONS_NS =
=== modified file 'src/functions/pregenerated/func_datetime.cpp'
--- src/functions/pregenerated/func_datetime.cpp 2013-03-12 17:37:12 +0000
+++ src/functions/pregenerated/func_datetime.cpp 2013-07-02 22:00:50 +0000
@@ -127,7 +127,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_current_date,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","current-date"),
+ (createQName("http://zorba.io/modules/datetime","","current-date"),
GENV_TYPESYSTEM.DATE_TYPE_ONE),
FunctionConsts::FN_ZORBA_DATETIME_CURRENT_DATE_0);
@@ -138,7 +138,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_current_dateTime,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","current-dateTime"),
+ (createQName("http://zorba.io/modules/datetime","","current-dateTime"),
GENV_TYPESYSTEM.DATETIME_STAMP_TYPE_ONE),
FunctionConsts::FN_ZORBA_DATETIME_CURRENT_DATETIME_0);
@@ -149,7 +149,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_current_time,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","current-time"),
+ (createQName("http://zorba.io/modules/datetime","","current-time"),
GENV_TYPESYSTEM.TIME_TYPE_ONE),
FunctionConsts::FN_ZORBA_DATETIME_CURRENT_TIME_0);
@@ -160,7 +160,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_millis_to_dateTime,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","millis-to-dateTime"),
+ (createQName("http://zorba.io/modules/datetime","","millis-to-dateTime"),
GENV_TYPESYSTEM.LONG_TYPE_ONE,
GENV_TYPESYSTEM.DATETIME_TYPE_ONE),
FunctionConsts::FN_ZORBA_DATETIME_MILLIS_TO_DATETIME_1);
@@ -172,7 +172,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_parse_date,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","parse-date"),
+ (createQName("http://zorba.io/modules/datetime","","parse-date"),
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.DATE_TYPE_ONE),
@@ -185,7 +185,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_parse_date,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","parse-date"),
+ (createQName("http://zorba.io/modules/datetime","","parse-date"),
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
@@ -199,7 +199,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_parse_dateTime,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","parse-dateTime"),
+ (createQName("http://zorba.io/modules/datetime","","parse-dateTime"),
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.DATETIME_TYPE_ONE),
@@ -212,7 +212,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_parse_dateTime,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","parse-dateTime"),
+ (createQName("http://zorba.io/modules/datetime","","parse-dateTime"),
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
@@ -226,7 +226,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_parse_time,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","parse-time"),
+ (createQName("http://zorba.io/modules/datetime","","parse-time"),
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.TIME_TYPE_ONE),
@@ -239,7 +239,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_parse_time,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","parse-time"),
+ (createQName("http://zorba.io/modules/datetime","","parse-time"),
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
GENV_TYPESYSTEM.STRING_TYPE_ONE,
@@ -253,7 +253,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_timestamp,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","timestamp"),
+ (createQName("http://zorba.io/modules/datetime","","timestamp"),
GENV_TYPESYSTEM.LONG_TYPE_ONE),
FunctionConsts::FN_ZORBA_DATETIME_TIMESTAMP_0);
@@ -264,7 +264,7 @@
{
DECL_WITH_KIND(sctx, fn_zorba_dateTime_utc_offset,
- (createQName("http://www.zorba-xquery.com/modules/datetime","","utc-offset"),
+ (createQName("http://zorba.io/modules/datetime","","utc-offset"),
GENV_TYPESYSTEM.LONG_TYPE_ONE),
FunctionConsts::FN_ZORBA_DATETIME_UTC_OFFSET_0);
=== modified file 'src/runtime/spec/mappings.xml'
--- src/runtime/spec/mappings.xml 2013-06-25 23:53:54 +0000
+++ src/runtime/spec/mappings.xml 2013-07-02 22:00:50 +0000
@@ -86,7 +86,7 @@
prefix="full-text"/>
<zorba:namespace
- uri="http://www.zorba-xquery.com/modules/datetime"
+ uri="http://zorba.io/modules/datetime"
define="ZORBA_DATETIME_FN_NS"
prefix="fn-zorba-dateTime"/>
=== modified file 'test/fots_driver/fots-driver.xq'
--- test/fots_driver/fots-driver.xq 2013-06-11 17:26:40 +0000
+++ test/fots_driver/fots-driver.xq 2013-07-02 22:00:50 +0000
@@ -26,7 +26,7 @@
"http://www.functx.com/";
import module namespace datetime =
- "http://www.zorba-xquery.com/modules/datetime";
+ "http://zorba.io/modules/datetime";
import module namespace eval =
"http://www.zorba-xquery.com/fots-driver/evaluate" at "evaluate.xq";
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-millis-to-dateTime-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-millis-to-dateTime-1.xq 2013-01-29 06:10:09 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-millis-to-dateTime-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:millis-to-dateTime( xs:long( 1359439013001 ) )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-date-la-uD-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-date-la-uD-1.xq 2013-01-04 16:08:03 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-date-la-uD-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-date( "Fri 12/28/12", "%a %D", "en-US" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-date-ld-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-date-ld-1.xq 2012-12-27 23:19:37 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-date-ld-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-date( "1", "%d" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-date-lj-uY-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-date-lj-uY-1.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-date-lj-uY-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-date( "363 2012", "%j %Y" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-date-uA-uD-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-date-uA-uD-1.xq 2013-01-04 16:08:03 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-date-uA-uD-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-date( "Friday 12/28/12", "%A %D", "en-US" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-date-uA-uD-2.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-date-uA-uD-2.xq 2013-01-04 16:08:03 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-date-uA-uD-2.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-date( "Freitag 12/28/12", "%A %D", "de-DE" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-date-uD-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-date-uD-1.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-date-uD-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-date( "1/2/68", "%D" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-date-uD-2.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-date-uD-2.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-date-uD-2.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-date( "1/2/69", "%D" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-date-uF-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-date-uF-1.xq 2012-12-27 23:19:37 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-date-uF-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-date( "1912-12-28", "%F" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uAB-ld-uYTZ-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uAB-ld-uYTZ-1.xq 2013-01-04 16:08:03 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uAB-ld-uYTZ-1.xq 2013-07-02 22:00:50 +0000
@@ -1,4 +1,4 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
let $buf := "Friday, December 28, 2012, 08:00:00 PST"
return dt:parse-dateTime( $buf, "%A, %B %d, %Y, %T %Z", "en-US" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uAB-ld-uYTZ-2.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uAB-ld-uYTZ-2.xq 2013-01-04 16:08:03 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uAB-ld-uYTZ-2.xq 2013-07-02 22:00:50 +0000
@@ -1,4 +1,4 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
let $buf := "Freitag, Dezember 28, 2012, 08:00:00 PST"
return dt:parse-dateTime( $buf, "%A, %B %d, %Y, %T %Z", "de-DE" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uFTZ-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uFTZ-1.xq 2013-01-01 01:15:46 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-dateTime-uFTZ-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-dateTime( "1912-12-28 05:00:00 PST", "%F %T %Z" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-lr-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-lr-1.xq 2013-01-04 16:08:03 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-lr-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "11:12:13 AM", "%r", "en-US" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-lr-2.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-lr-2.xq 2013-01-04 16:08:03 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-lr-2.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "11:12:13 AM", "%r", "fr-FR" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-uH-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-uH-1.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-uH-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "23", "%H" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-uH-2.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-uH-2.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-uH-2.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "24", "%H" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-uIMS-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-uIMS-1.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-uIMS-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "12:34:56", "%I:%M:%S" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-uM-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-uM-1.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-uM-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "59", "%M" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-uR-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-uR-1.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-uR-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "23:45", "%R" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-uS-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-uS-1.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-uS-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "59", "%S" )
=== modified file 'test/rbkt/Queries/zorba/datetime/datetime-parse-time-uT-1.xq'
--- test/rbkt/Queries/zorba/datetime/datetime-parse-time-uT-1.xq 2012-12-31 23:19:53 +0000
+++ test/rbkt/Queries/zorba/datetime/datetime-parse-time-uT-1.xq 2013-07-02 22:00:50 +0000
@@ -1,3 +1,3 @@
-import module namespace dt = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace dt = "http://zorba.io/modules/datetime";
dt:parse-time( "23:45:01", "%T" )
=== modified file 'test/rbkt/Queries/zorba/nondeterministic/datetime.xq'
--- test/rbkt/Queries/zorba/nondeterministic/datetime.xq 2013-02-07 17:24:36 +0000
+++ test/rbkt/Queries/zorba/nondeterministic/datetime.xq 2013-07-02 22:00:50 +0000
@@ -1,4 +1,4 @@
-import module namespace datetime = "http://www.zorba-xquery.com/modules/datetime";
+import module namespace datetime = "http://zorba.io/modules/datetime";
declare namespace ann = "http://www.zorba-xquery.com/annotations";
=== modified file 'test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm'
--- test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm 2013-06-25 03:55:20 +0000
+++ test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm 2013-07-02 22:00:50 +0000
@@ -117,7 +117,7 @@
<span>atomic</span>
<ul>
<li>
- <a href="www.zorba-xquery.com_modules_datetime.html" title="http://www.zorba-xquery.com/modules/datetime">datetime</a>
+ <a href="www.zorba-xquery.com_modules_datetime.html" title="http://zorba.io/modules/datetime">datetime</a>
<sup>
<a href="http://www.w3.org/TR/xquery-30/#dt-external-function" target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
</sup>
Follow ups
-
[Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: noreply, 2013-10-09
-
[Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Zorba Build Bot, 2013-10-09
-
[Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Zorba Build Bot, 2013-10-09
-
[Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Zorba Build Bot, 2013-10-09
-
[Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Zorba Build Bot, 2013-10-09
-
[Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Zorba Build Bot, 2013-10-09
-
[Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Zorba Build Bot, 2013-10-09
-
Re: [Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Chris Hillery, 2013-10-09
-
Re: [Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Juan Zacarias, 2013-10-02
-
Re: [Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Chris Hillery, 2013-09-18
-
Re: [Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Juan Zacarias, 2013-08-12
-
Re: [Merge] lp:~zorba-coders/zorba/update3.0_datetime-module into lp:zorba
From: Chris Hillery, 2013-07-03