Permalink
Browse files

Force UTC ticks when storing datetimes, ado delegate cleanup

  • Loading branch information...
lahma committed Dec 31, 2011
1 parent d778ebe commit 449b37ba614ce97733b586248f197e183e2d5b23
Showing with 63 additions and 148 deletions.
  1. +7 −3 changelog.txt
  2. +3 −3 src/Quartz/Impl/AdoJobStore/IDriverDelegate.cs
  3. +53 −142 src/Quartz/Impl/AdoJobStore/StdAdoDelegate.cs
View
@@ -4,7 +4,7 @@ http://www.quartz-scheduler.net
Release 2.0 beta 2, Dec 31, 2011
--------------------------------
+--------------------------------
This release contains some bug fixes and some compile time breaking changes.
@@ -23,10 +23,14 @@ Bug
* DailyTimeIntervalTriggerPersistenceDelegate does not store weekdays in correct format
* DisallowConcurrentExecution decorated triggers not being updated after TriggerCompleted
- * DailyTimeIntervalTrigger fixed to actually work
+ * DailyTimeIntervalTrigger does not work as expected
+
+Improvement
+
+ * ADO.NET job store: force UTC ticks when storing datetimes
Release 2.0 beta 1, October 2, 2011
--------------------------------
+-----------------------------------
BREAKING CHANGES
@@ -69,7 +69,7 @@ public interface IDriverDelegate
/// <param name="conn">The DB Connection</param>
/// <param name="timestamp">The timestamp.</param>
/// <returns>An array of <see cref="TriggerKey" /> objects</returns>
- IList<TriggerKey> SelectMisfiredTriggers(ConnectionAndTransactionHolder conn, long timestamp);
+ IList<TriggerKey> SelectMisfiredTriggers(ConnectionAndTransactionHolder conn, DateTimeOffset timestamp);
/// <summary>
/// Get the names of all of the triggers in the given state that have
@@ -79,7 +79,7 @@ public interface IDriverDelegate
/// <param name="state">The state.</param>
/// <param name="ts">The time stamp.</param>
/// <returns>An array of <see cref="TriggerKey" /> objects</returns>
- IList<TriggerKey> HasMisfiredTriggersInState(ConnectionAndTransactionHolder conn, string state, long ts);
+ IList<TriggerKey> HasMisfiredTriggersInState(ConnectionAndTransactionHolder conn, string state, DateTimeOffset ts);
/// <summary>
/// Get the names of all of the triggers in the given group and state that
@@ -90,7 +90,7 @@ public interface IDriverDelegate
/// <param name="state">The state.</param>
/// <param name="ts">The timestamp.</param>
/// <returns>An array of <see cref="TriggerKey" /> objects</returns>
- IList<TriggerKey> SelectMisfiredTriggersInGroupInState(ConnectionAndTransactionHolder conn, string groupName, string state, long ts);
+ IList<TriggerKey> SelectMisfiredTriggersInGroupInState(ConnectionAndTransactionHolder conn, string groupName, string state, DateTimeOffset ts);
/// <summary>
/// Select all of the triggers for jobs that are requesting recovery. The
Oops, something went wrong.

0 comments on commit 449b37b

Please sign in to comment.