cqframework / cql-engine

Clinical Quality Language Evaluation Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when getting timezone offset when ID is in form of Country/City

c-schuler opened this issue · comments

The getTimeZoneOffset() method in BaseTemporal class assumes that the timezone ID will be in the form of (+|-)hh:mm, e.g. +07:00. However, there may be instances when the ID is of the form Country/City, e.g. America/Denver. This invalid assumption may lead to an ArrayIndexOutOfBoundsException with the current logic.