Main Page | Packages | Class Tree | Index | Help

xp.util

class Time

Object
  |
  +--xp.util.Time


class Time
extends Object

Time utiity functions


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Method Summary

public static
CvtNtoS ( iNum )
Forces conversion of a number to a string

public static
msToTime ( ms )
convert time in milliseconds to mins:secs format for display

public static
ZeroFill ( iNum, iDigits )
Prepends zeros to an input number to return string of format 00#



Method Documentation

CvtNtoS

public static function CvtNtoS(iNum)
Forces conversion of a number to a string

Parameters:
iNum
number to convert

msToTime

public static function msToTime(ms)
convert time in milliseconds to mins:secs format for display

ZeroFill

public static function ZeroFill(iNum,
 iDigits)
Prepends zeros to an input number to return string of format 00#

Parameters:
iNum
Input number
iDigits
number of total digits of output string

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc