[rules-dev] Fwd: [jbpm-console-ng] Fix calendar view for Octobers (#37)

Mauricio Salatino salaboy at gmail.com
Fri Jul 19 08:00:12 EDT 2013


yeah.. most of the time playing with longs and dates is not the best
approach


On Fri, Jul 19, 2013 at 12:19 PM, Wolfgang Laun <wolfgang.laun at gmail.com>wrote:

> Due to the return from Daylight Saving Time October has one additional
> hour. Adding a duration of 30 times the number of milliseconds per day
> brings you to Oct 30, 23:00. Since java.util.Date respects the JVM's
> locale, it might even have worked in several countries of this planet.
> :-)
>
> -W
>
> ---------- Forwarded message ----------
> From: Petr Široký <notifications at github.com>
> Date: Wed, 17 Jul 2013 23:11:00 -0700
> Subject: [jbpm-console-ng] Fix calendar view for Octobers (#37)
> To: droolsjbpm/jbpm-console-ng <jbpm-console-ng at noreply.github.com>
>
> For some reason Octobers had only 34(41) days displayed instead of
> correct 35(42). Not really sure where the problem was, replacing the
> ad-hoc date code with joda time methods solved it.
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev




-- 
 - MyJourney @ http://salaboy.com <http://salaboy.wordpress.com>
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20130719/4d7385b5/attachment.html 


More information about the rules-dev mailing list