"""Constants definition module.""" import re from dateutil import tz # This timezone is used to understand user-entered "business" dates and times. OPERATING_TIMEZONE = tz.gettz('America/New_York') # We use this timezone for internally generated timestamps. SYSTEM_TIMEZONE = tz.tzutc() DATE_FORMAT = '%Y-%m-%d' DATETIME_FORMAT = '%Y-%m-%dT%H:%M:%S.%f%z' DECIMAL_PATTERN = re.compile(r'^-?\d+(\.\d{1,2})?$') TESTING_OBJECT_PREFIX = 'orcd_autotest'