Mercurial > projects > dwt-addons
view dwtx/dwtxhelper/TimerTask.d @ 184:26589d623405
Added ListIterator for ArrayList
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 18 Oct 2008 15:02:28 +0200 |
parents | de96284b35d8 |
children | 987b95661bb9 |
line wrap: on
line source
module dwtx.dwtxhelper.TimerTask; import tango.time.Time; import dwt.dwthelper.utils; import dwt.dwthelper.Runnable; import dwtx.dwtxhelper.Timer; class TimerTask : Runnable { package TimeSpan period; package Time executionTime; package Timer timer; bool cancel(){ implMissing( __FILE__, __LINE__ ); return false; } abstract void run(); long scheduledExcecutionTime(){ return ( executionTime - Time.epoch1970 ).millis; } }