add optional TimeZone parameter for Sampling in js
inspired from Henri Bollig's work
add optional TimeZone parameter for Sampling in js
inspired from Henri Bollig's work
from JDK TimeZone to Joda Time DateTimeZone
In RangeAggregator:
  - simplified start time and end time computation for sub ranges.
  - for YEAR, MONTH, WEEK, DAY units, the range starts at the start of the day. HOUR range starts at the start of the hour and so on for minutes and seconds.
  - corrected for DST when using MONTH, WEEK, YEAR
Added support for timezones in SAMPLING
Now taking leap years into account
Now taking leap years into account