Thorsten,<div><br></div><div>   I am afraid that as it is today (time units being tied to a partial ISO8601 syntax), the best you will be able to do is to use some helper functions in some parts of the rules for what you need to do.</div>
<div><br></div><div>   Although, if you propose a different way of handling that, we may consider it for future releases.</div><div><br></div><div>   Edson<br><br><div class="gmail_quote">2010/8/13 Thorsten <span dir="ltr">&lt;<a href="mailto:thorsten.schmidt84@gmx.de">thorsten.schmidt84@gmx.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello out there,<br>
<br>
is it possible to change or extend the existing time unit step-size like<br>
[h,s,ms] used inside the rules? They all seems to have a fixed (logical)<br>
relationship (e.g. 1 s = 1000ms). Unfortunately we have a different time<br>
representation in our application. We can rebuild the time model using<br>
the smallest units as pseudo time reference but this makes the rules<br>
hard to write / read as every user has to know how much<br>
“smallest-time-units” represents a real world second.<br>
<br>
Thank you very much<br>
Thorsten<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>