Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.5, 5.3.6, 5.3.7, 5.4, 5.3.8
Description
CronSchedule can be instantiated with a cron expression string, but there is no way to set a time zone. Specifically, the cron expression is not expected to contain time zone information; there is neither a CronSchedule constructor with a TimeZone argument nor with a CronExpression argument; and CronSchedule's CronExpression field is private.
The proposed solution is to add a constructor that will accept a TimeZone argument. The existing one-argument constructor would set the default time zone.