>I will have a look at icu4j.

Icu4j (actually icu4c) is what we used as the basis for all of our work too. It 
has a ton of great stuff in there. In particular we were also dealing with 
non-gregorian calendaring and they have some reasonably helpful code throughout.

We ended up taking the transition points for daylight savings time from icu and 
making a binary format out of it that could be bit crunched into something 
small. Compressing it down and storing it as a chunk of binary which was 
embedded, then expanding it at system startup. We then were able to keep 
everything synchronous, which we needed.

The probably with the async calls comes down to ActionScript use.

If someone says:

var x = new Date();
x.year -= 10;

foo( x.timezoneOffset );

there is no clean way to handle an asynchronous call. That's why we ended up 
just having to move it all to the client.

Mike

Reply via email to