Skip to content

Commit

Permalink
STU3#1724: Renamed timezone keyword to timezoneoffset and removed tim…
Browse files Browse the repository at this point in the history
…ezoneoffset component from time
  • Loading branch information
brynrhodes committed Jun 23, 2019
1 parent 74f71a4 commit 3ea0bcb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions spec/09-b-cqlreference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
----
Expand All @@ -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)
Expand Down
5 changes: 2 additions & 3 deletions spec/site/09-b-cqlreference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
----
Expand All @@ -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)
Expand Down
5 changes: 2 additions & 3 deletions spec/site/STU4/09-b-cqlreference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
----
Expand All @@ -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)
Expand Down

0 comments on commit 3ea0bcb

Please sign in to comment.