Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

[10:30:14 CST(-0600)] <EricDalquist> so joda-time is amazing

[10:41:09 CST(-0600)] <EricDalquist> Arvids: did you get my notes about the transactional annotation?

[10:41:27 CST(-0600)] <EricDalquist> also I'd really like to figure out if we can get the varchar(max) stuff working on sqlserver

[10:41:33 CST(-0600)] <EricDalquist> though I'm not even sure where tos tart there

[10:42:38 CST(-0600)] <EricDalquist> so joda-time is amazing athena

[10:54:30 CST(-0600)] <EricDalquist> DateTime.now().minus(this.aggregationDelay).secondOfMinute().roundFloorCopy()

[10:54:49 CST(-0600)] <EricDalquist> aggregationDelay is: aggregationDelay = Period.seconds(30)

[10:55:54 CST(-0600)] <athena> oooh.

[10:55:54 CST(-0600)] <athena> wow

[10:56:05 CST(-0600)] <athena> yeah, i really need to get that into the calendar portlet

[10:56:10 CST(-0600)] <EricDalquist> .secondOfMinute().roundFloorCopy() truncates the returned values to the minute

[10:56:12 CST(-0600)] <athena> bet it would fix some of that awful logic

[10:56:16 CST(-0600)] <EricDalquist> so seconds and millis are set to 0

[10:56:18 CST(-0600)] <athena> nice!

[10:56:22 CST(-0600)] <athena> no more manual crap1

[10:56:25 CST(-0600)] <EricDalquist> yeah

[10:56:35 CST(-0600)] <EricDalquist> this simplified SO MUCH of the stats code

[10:56:46 CST(-0600)] <athena> nice!

[10:58:01 CST(-0600)] <EricDalquist> and the great thing is if aggregationDelay was something like Period.days(1);

[10:58:15 CST(-0600)] <EricDalquist> doing the minus automatically handles DST and all the other stuff

[10:58:20 CST(-0600)] <athena> nice (smile)

[10:58:21 CST(-0600)] <athena> yeah

[10:58:34 CST(-0600)] <EricDalquist> since the Period is tracked as "1 day" with no concept of an actual duration in millis

[10:58:46 CST(-0600)] <athena> that's awesome

[10:58:55 CST(-0600)] <EricDalquist> until it is applied to an object that has some concept of the millis timeline

[10:59:53 CST(-0600)] <athena> sounds like a really good library

[10:59:59 CST(-0600)] <EricDalquist> yeah

[11:00:06 CST(-0600)] <EricDalquist> jsr-310 is supposedly even better

[11:00:15 CST(-0600)] <EricDalquist> just have to wait for it (sad)

[11:00:26 CST(-0600)] <athena> waiting! boo!

[11:01:15 CST(-0600)] <EricDalquist> (smile)

[11:01:29 CST(-0600)] <EricDalquist> also it looks like spring supports jodatime

[11:01:41 CST(-0600)] <EricDalquist> so you can use it in the mvc layer for parameter types

[11:02:11 CST(-0600)] <athena> oh wow, really!?

[11:02:13 CST(-0600)] <athena> that's awesome

  • No labels