xbn.util
Class TimerSeconds

java.lang.Object
  |
  +--xbn.XBNObject
        |
        +--xbn.util.TimerUnits
              |
              +--xbn.util.TimerSeconds

public class TimerSeconds
extends TimerUnits

A TimerUnits that uses seconds as its unit.

Source code:  TimerSeconds.java.  Example code  XmplTimerSeconds.java.


Fields inherited from class xbn.XBNObject
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP
 
Constructor Summary
TimerSeconds()
          Create a TimerSeconds that does not expire.
TimerSeconds(int i_secondsToExpire)
          Create a TimerSeconds.
TimerSeconds(int i_secondsToExpire, boolean b_crashIfMidStartOrStop)
          Create a TimerSeconds.
TimerSeconds(int i_secondsToExpire, boolean b_crashIfStartStart, boolean b_crashIfStopStop)
          Create a TimerSeconds.
 
Methods inherited from class xbn.util.TimerUnits
doCrashIfStartStart, doCrashIfStopStop, doesExpire, getDateStarted, getMillsMultiplier, getMillsToExpire, getUnitsToExpire, hasExpired, isStarted, isStopped, start, stop, toString
 
Methods inherited from class xbn.XBNObject
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimerSeconds

public TimerSeconds()

Create a TimerSeconds that does not expire.

Equal to TimerUnits()


TimerSeconds

public TimerSeconds(int i_secondsToExpire)

Create a TimerSeconds.

Equal to TimerUnits(UtilDate.getMillsInASecond(), i_secondsToExpire)


TimerSeconds

public TimerSeconds(int i_secondsToExpire,
                    boolean b_crashIfMidStartOrStop)

Create a TimerSeconds.

Equal to TimerUnits(UtilDate.getMillsInASecond(), i_secondsToExpire, b_crashIfMidStartOrStop, b_crashIfMidStartOrStop)


TimerSeconds

public TimerSeconds(int i_secondsToExpire,
                    boolean b_crashIfStartStart,
                    boolean b_crashIfStopStop)

Create a TimerSeconds.

Equal to TimerUnits(UtilDate.getMillsInASecond(), i_secondsToExpire, b_crashIfMidStartOrStop, b_crashIfMidStartOrStop)




Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.

 

http://sourceforge.net/projects/xbnjava

 

SourceForge.net Logo