From 3ea0bcb7a28578118982b0058324c41cc0608f6f Mon Sep 17 00:00:00 2001 From: Bryn Rhodes Date: Sun, 23 Jun 2019 15:20:39 -0600 Subject: [PATCH] STU3#1724: Renamed timezone keyword to timezoneoffset and removed timezoneoffset component from time --- spec/09-b-cqlreference.adoc | 5 ++--- spec/site/09-b-cqlreference.adoc | 5 ++--- spec/site/STU4/09-b-cqlreference.adoc | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/spec/09-b-cqlreference.adoc b/spec/09-b-cqlreference.adoc index 4efa5ac..3b3e76a 100644 --- a/spec/09-b-cqlreference.adoc +++ b/spec/09-b-cqlreference.adoc @@ -3121,8 +3121,7 @@ define DateInvalid: DateTime(2012, 1, 1, 12, null, 0, 0, -7) _precision_ from(argument Date) Integer _precision_ from(argument DateTime) Integer _precision_ from(argument Time) Integer -timezoneOffset from(argument DateTime) Decimal -timezoneOffset from(argument Time) Decimal +timezoneoffset from(argument DateTime) Decimal date from(argument DateTime) Date time from(argument DateTime) Time ---- @@ -3148,7 +3147,7 @@ The following examples illustrate the behavior of the _component_-[.kw]#from# op [source,cql] ---- define MonthFrom: month from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // 1 -define TimeZoneOffsetFrom: timezoneOffset from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // -7.0 +define TimeZoneOffsetFrom: timezoneoffset from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // -7.0 define DateFrom: date from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // @2012-01-01 define TimeFrom: time from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // @T12:30:00.000-07:00 define MonthFromIsNull: month from DateTime(2012) diff --git a/spec/site/09-b-cqlreference.adoc b/spec/site/09-b-cqlreference.adoc index bddd4d0..07ad80f 100644 --- a/spec/site/09-b-cqlreference.adoc +++ b/spec/site/09-b-cqlreference.adoc @@ -3121,8 +3121,7 @@ define DateInvalid: DateTime(2012, 1, 1, 12, null, 0, 0, -7) _precision_ from(argument Date) Integer _precision_ from(argument DateTime) Integer _precision_ from(argument Time) Integer -timezoneOffset from(argument DateTime) Decimal -timezoneOffset from(argument Time) Decimal +timezoneoffset from(argument DateTime) Decimal date from(argument DateTime) Date time from(argument DateTime) Time ---- @@ -3148,7 +3147,7 @@ The following examples illustrate the behavior of the _component_-[.kw]#from# op [source,cql] ---- define MonthFrom: month from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // 1 -define TimeZoneOffsetFrom: timezoneOffset from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // -7.0 +define TimeZoneOffsetFrom: timezoneoffset from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // -7.0 define DateFrom: date from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // @2012-01-01 define TimeFrom: time from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // @T12:30:00.000-07:00 define MonthFromIsNull: month from DateTime(2012) diff --git a/spec/site/STU4/09-b-cqlreference.adoc b/spec/site/STU4/09-b-cqlreference.adoc index dce27b0..7da0754 100644 --- a/spec/site/STU4/09-b-cqlreference.adoc +++ b/spec/site/STU4/09-b-cqlreference.adoc @@ -3121,8 +3121,7 @@ define DateInvalid: DateTime(2012, 1, 1, 12, null, 0, 0, -7) _precision_ from(argument Date) Integer _precision_ from(argument DateTime) Integer _precision_ from(argument Time) Integer -timezoneOffset from(argument DateTime) Decimal -timezoneOffset from(argument Time) Decimal +timezoneoffset from(argument DateTime) Decimal date from(argument DateTime) Date time from(argument DateTime) Time ---- @@ -3148,7 +3147,7 @@ The following examples illustrate the behavior of the _component_-[.kw]#from# op [source,cql] ---- define MonthFrom: month from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // 1 -define TimeZoneOffsetFrom: timezoneOffset from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // -7.0 +define TimeZoneOffsetFrom: timezoneoffset from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // -7.0 define DateFrom: date from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // @2012-01-01 define TimeFrom: time from DateTime(2012, 1, 1, 12, 30, 0, 0, -7) // @T12:30:00.000-07:00 define MonthFromIsNull: month from DateTime(2012)