On 10/10/2013 2:52 AM, Michael A. Labriola wrote:
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.
i have a very vague recollection that somebody partially ported icu4j/icu4c to AS3 (maybe just the calenders). wondering what happened to it?
could the flasCC or whatever its called now be used to wrapper/import the icu4c bits???
while it was easy enough to manipulate CE dates in flash to Buddhist calendar (modern era, months are basically the same & just add 543 to get BE years) the date UI bits (calender for example) were always frustrating.
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.
another approach i never thought of. thanks.