<div><br></div> That would be a valid use case. :)<div><br></div><div> Edson<br><br><div class="gmail_quote">2011/2/7 Wolfgang Laun <span dir="ltr"><<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">@Edson: What about logging?<br>
-W<br>
<br>
2011/2/7 Edson Tirelli <<a href="mailto:ed.tirelli@gmail.com">ed.tirelli@gmail.com</a>>:<br>
<div><div></div><div class="h5">><br>
> Usually you should not need to obtain the timestamp. What do you need it<br>
> for? Remember you can always use temporal operators directly on events, no<br>
> need to access the timestamp. Example:<br>
> $that : Event1(<br>
> Event2( this after $that )<br>
> Edson<br>
><br>
> 2011/2/7 Wolfgang Laun <<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>><br>
>><br>
>> An insert call returns a fact handle . If this is of the class<br>
>> org.drools.common.EventFactHandle you can call getStartTimestamp() and<br>
>> other getters.<br>
>><br>
>> This is not part of the stable API.<br>
>><br>
>> .W<br>
>><br>
>> On 7 February 2011 15:10, OlliSee <<a href="mailto:o.roess@seeburger.de">o.roess@seeburger.de</a>> wrote:<br>
>> ><br>
>> > Yeah..the topic subject explains itself, I presume :)<br>
>> > --<br>
>> > View this message in context:<br>
>> > <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-to-obtain-the-timestamp-of-an-event-if-I-don-t-use-an-timestamp-attribute-tp2443366p2443366.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/How-to-obtain-the-timestamp-of-an-event-if-I-don-t-use-an-timestamp-attribute-tp2443366p2443366.html</a><br>
>> > Sent from the Drools - User mailing list archive at Nabble.com.<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>
>> ><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>
><br>
><br>
><br>
> --<br>
> Edson Tirelli<br>
> JBoss Drools Core Development<br>
> JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><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>
><br>
><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>
</div></div></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>