If you need to calculate time difference that include Daylight Saving Time in Groovy, it is super simple with
groovy.time.TimeCategory
:TimeDuration hours = TimeCategory.minus(end.time, start.time)
No comments:
Post a Comment