|
Sleepbot.com Java Classes | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepbot.WRLDtime.cron.WRLDcronTick
A class which snapshots a single 'tick' (eg. time code) from the WRLDcron chronometer.
This class contains all the information necessary to determine the full granularity of a WRLDtime code at a given instant.
Nearly all of the methods provided by this class are direct parallels of WRLDcron
object methods.
version 1.3 - 01Jan05 - Daniel M Foley
version 1.2 - 19Nov00 - Daniel M Foley
Constructor Summary | |
WRLDcronTick(WRLDcron cron)
Constructs a new WRLDtime tick. |
Method Summary | |
long |
getBeat()
Returns the beat of the tick's converted time |
int |
getBeatLength()
Returns the number of digits in the tick's beat |
java.util.Date |
getDate()
Returns the date at which this tick was created |
long |
getMeasure()
Returns the measure of the tick's converted time |
int |
getMeasureLength()
Returns the number of digits in the tick's measure |
long |
getTime()
Returns the tick's converted time |
int |
getTimeLength()
Returns the number of digits in the tick's full time code |
WRLDcron |
getWRLDcron()
Returns the WRLDcron from object which this tick was generated |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WRLDcronTick(WRLDcron cron)
cron
- the WRLDcron
object from which to create the snapshot.Method Detail |
public WRLDcron getWRLDcron()
WRLDcron
object from which the snapshot was created.public long getTime()
WRLDcron.getTime()
public long getBeat()
WRLDcron.getBeat()
public long getMeasure()
WRLDcron.getMeasure()
public int getTimeLength()
WRLDcron.getTimeLength()
public int getBeatLength()
WRLDcron.getBeatLength()
public int getMeasureLength()
WRLDcron.getMeasureLength()
public java.util.Date getDate()
WRLDcron.getDate()
public java.lang.String toString()
String
representation of this object.
|
Sleepbot.com Java Classes | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |