New Squeak Version of Chronos Published

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

New Squeak Version of Chronos Published

Alan L. Lovejoy
The new version of Chronos for Squeak, unlike the version initially published, can be safely installed by file-in.  Also unlike the initial version, it can read reference data from the file system--especially including time zone rulesets. It can also persist reference data in the local file system. The Chronos Time Zone Compiler can be installed, and it can be used to compile Chronos time zone rule files from the Olson zoneinfo source files.
 
However, the current Squeak version still does not have all the functionality of the VisualWorks version.  Here's what's still missing:
 
* Determination of the host system time zone (this would require new primitives or FFI function libraries--and is something that is not at all on my to-do list)
 
* Support for any Locale other than #en_US--I may (or may not) decide to use the data published by the Common Locale Data Repository (CLDR) Project to provide such functionality for Squeak (and for other Smalltalk implementations as well,) but that won't happen for many months yet, if it happens at all [ref: http://www.unicode.org/cldr/]
 
* Convenience methods implemented in Squeak classes that leverage Chronos (e.g., String>>asTimezone, Number>>hours, etc.)--the issue here, of course, is interference with the native Chronology library's own such convenience methods (Note: Implementing such convenience methods for Chronos is the sole responsibility of the Squeak community)
 
* Type-compatibility of Chronos classes with the analogous Chronology classes (Note: Implementing such type-compatibility methods for Chronos (or Chronos-compatibility for Chronology, for that matter) is the sole responsibility of the Squeak community)
 

For full details, including installation instructions, see: http://chronos-st.blogspot.com/2006/03/squeak-version-of-chronos-published.html
 
--Alan