You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interfaceTimeService {
/** * Returns the current application time. This will be the time of the system * the application is running on by default but can be adjusted by calling {@link #forward(…)}. * … */LocalDateTimegetTime();
/** * Forwards the current time with the given {@link Duration}. Calling the * method multiple times will accumulate durations. * … */voidforward(Durationduration);
/** * Returns the current offset between the real time and the virtual one * created by calling {@link #forward(…)}. * … */DurationgetOffset();
}
The text was updated successfully, but these errors were encountered:
Removed dependency on JodaTime and switched to Java 8's new DateTime APIs. Introduced Interval value object as the latter is missing the concept of an interval with dedicated start and end date(time).
Pulled in Jadira Usertypes to be able to store Java 8 types in Hibernate directly as the conversion from and into legacy Date instances requires dealing with a default time zone which is cumbersome.
Refactored TimeService to BusinessTime and simplified implementation.
Removed dependency on JodaTime and switched to Java 8's new DateTime APIs. Introduced Interval value object as the latter is missing the concept of an interval with dedicated start and end date(time).
Pulled in Jadira Usertypes to be able to store Java 8 types in Hibernate directly as the conversion from and into legacy Date instances requires dealing with a default time zone which is cumbersome.
Refactored TimeService to BusinessTime and simplified implementation.
Simplify
TimeService
subsystem to the following:The text was updated successfully, but these errors were encountered: