Time

The Time struct converts ticks to msecs, seconds, minutes and hours.

Constructors

this
this(uint msecs)

CTor

Members

Static functions

remain
Time remain(Time time)

Calculate the <b>remaining</b> time.

Variables

hours
uint hours;

Hours = Minutes / 60

minutes
float minutes;

Minutes = Seconds / 60

msecs
uint msecs;

Milliseconds = Ticks

seconds
float seconds;

Seconds = Milliseconds / 1000

Meta

Authors

Randy Schuett (rswhite4@googlemail.com)