Setting a timezone for quartz simple trigger
问题 I need to set a quartz trigger for a job that includes a timezone. E.g. I need to set it for 27 August 2012 at 15:00 Europe/Amsterdam timezone. My server works on UTC. I believe a SimpleTriggeris what I need, but I do not know how to set a timezone for it. Any idea? 回答1: SimpleTrigger's fire time is based on the configured start time. The start time is specified as a java.util.Date, which is really just time specified in milliseconds since Jan 1, 1970 00:00:00.000 GMT. If, at Oct 23, 2010 8