<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Additionally Chronos also supports nominal time and leap seconds.</blockquote><div><br>
Maxi Taborda is enhancing Chalten adding that functionality... but is going to take some time :-) ... <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; 5) Chalten is based on a arithmetic model that allows you to represent time<br>&gt; measurements easily (like 3 days, 5 months, etc).<br><br>That won&#39;t work in Squeak because these methods are already by the<br>Squeak Chronology (unless you have classboxes). It might work in VW
<br>though.</blockquote><div><br>It works on Squeak,&nbsp; VW, VisualAge, Dolphin and GemStone that are the Smalltalk were Chalten has been migrated to. Look at Aconcagua, the model that takes care of this.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; These objects are<br>&gt; polymorphic with numbers respect to the arithmetic messages such as +, -, *,<br>&gt; etc., that means that you can use them in arithmetic formulas<br><br>That&#39;s true to a certain extent in Chronos for example you can:
<br>Timepoint now - (CalendarDuration months: 1)<br>(CalendarDuration months: 1) * 5<br>but you can&#39;t:<br>5 * (CalendarDuration months: 1)</blockquote><div><br>Ok, but it is not only the functionality what it is important for us... for us it is also important the way you &quot;write&quot; these things... for example, with Chalten/Aconcagua you can write:
<br><br>5 * month ---&gt; Equivalent to 5 * (CalendarDuration months: 1)<br>5 * meter / (second * second) --&gt; A measure of acceleration if you create meter as a unit using Aconcagua<br>1/10 * year --&gt; Represents an interest rate of 10% yearly.
<br><br>As you can see, time measure are not only related only to the time domain but used in other domains... that is way for us it is important to support this type of behavior and in a DSL way...<br><br>Bye, <br>Hernan.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; 5) And of course, I like Chalten&#39;s model more that Chronos :-). For me it is
<br>&gt; easier to use, but this is just a matter of taste...<br>&gt;<br>&gt; There is a paper we wrote 2 years ago about the problems that the Smalltalk<br>&gt; date classes have and the advantages of having a better model. If you are
<br>&gt; interested on having better date and time classes, I recommend you to read<br>&gt; the paper... you may not like it, but at least you will see other people<br>&gt; ideas...<br>&gt; We use that model (Chalten) in a production system and we believe it allowed
<br>&gt; us to avoid many common mistakes related to financial systems.... but hey,<br>&gt; that&#39;s just a feeling, nothing I can prove formally.<br>&gt;<br>&gt; I hope you can do something useful.<br>&gt; Bye,<br><br>
Chronos is a bit ugly in Squeak because Squeak does not support<br>namespaces which means that classes that model the same concept as<br>Squeak Chronology classes have different names (unless you mess with<br>shared pools). Also loading it is a bit of a pain with Monticello
<br>(this is the fault of Monticello and not Chronos).<br><br>Cheers<br>Philippe<br><br>&gt; Hernan.<br>&gt;<br>&gt;<br>&gt; On 4/16/07, J J &lt;<a href="mailto:azreal1977@hotmail.com">azreal1977@hotmail.com</a>&gt; wrote:
<br>&gt; &gt; I have looked at Cronos but it is really huge, and the classes that come<br>&gt; &gt; with the image are already very close.&nbsp;&nbsp;I will have to look at Chalten,<br>&gt; but<br>&gt; &gt; what is wrong with a few upgrades to the classes that come with Squeak?
<br>&gt; &gt;<br>&gt; &gt; &gt;From: &quot;Hernan Wilkinson&quot; &lt;<a href="mailto:hernan.wilkinson@gmail.com">hernan.wilkinson@gmail.com</a>&gt;<br>&gt; &gt; &gt;Reply-To: The general-purpose Squeak developers<br>&gt; &gt; &gt;list&lt; 
<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>&gt; &gt; &gt;To: &quot;The general-purpose Squeak developers<br>&gt; &gt; &gt;list&quot;&lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">
squeak-dev@lists.squeakfoundation.org</a>&gt;<br>&gt; &gt; &gt;Subject: Re: Date classes<br>&gt; &gt; &gt;Date: Mon, 16 Apr 2007 14:28:09 -0300<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;Before doing something with Date, I recommend you to take a look at
<br>&gt; &gt; &gt;&quot;Chalten&quot; or &quot;Cronos&quot;. Chalten is in SqueakSource.... I think Cronos too.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;Hernan.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;On 4/16/07, J J &lt;<a href="mailto:azreal1977@hotmail.com">
azreal1977@hotmail.com</a>&gt; wrote:<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;Hi all,<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;I am doing some stuff with dates and I noticed the date classes that<br>&gt; come<br>&gt; &gt; &gt;&gt;with the default Squeak image are very nice and very close to having
<br>&gt; &gt; &gt;&gt;everything I would want.&nbsp;&nbsp;But there are a few inconsistencies here and<br>&gt; &gt; &gt;&gt;there, and things missing that would make things easier.<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;So what is the procedure to updating this?&nbsp;&nbsp;I think it&#39;s part of the
<br>&gt; core<br>&gt; &gt; &gt;&gt;system so I probably can&#39;t just do a monicello package update<br>&gt; &gt; &gt;&gt;somewhere?&nbsp;&nbsp;Do<br>&gt; &gt; &gt;&gt;I have to do it through mantis?<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;Thanks,
<br>&gt; &gt; &gt;&gt;Jason<br>&gt; &gt; &gt;&gt;<br>&gt; &gt;<br>&gt; &gt;&gt;_________________________________________________________________<br>&gt; &gt; &gt;&gt;Download Messenger. Join the i&#39;m Initiative. Help make a difference
<br>&gt; today.<br>&gt; &gt;<br>&gt; &gt;&gt;<a href="http://im.live.com/messenger/im/home/?source=TAGHM_APR07">http://im.live.com/messenger/im/home/?source=TAGHM_APR07</a><br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;
<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; _________________________________________________________________<br>&gt; &gt; Get a FREE Web site, company branded e-mail and more from Microsoft Office
<br>&gt; &gt; Live!<br>&gt; <a href="http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/">http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>
&gt;<br>&gt;<br>&gt;<br><br></blockquote></div><br>