Class Index | File Index

Classes


Namespace MochiKit.DateTime

Provides functions for handling date and time.
Defined in: DateTime.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
MochiKit.DateTime._twoDigitNumber(value)
Formats a number using two digits, i.e.
<static>  
MochiKit.DateTime.toApproxPeriod(millis)
Converts a number of milliseconds to an approximate time period.
Namespace Detail
MochiKit.DateTime
Method Detail
<static> {String} MochiKit.DateTime._twoDigitNumber(value)
Formats a number using two digits, i.e. pads with a leading zero character if the number is only one digit.
Parameters:
{Number} value
the number to format
Returns:
{String} the formatted number string

<static> {String} MochiKit.DateTime.toApproxPeriod(millis)
Converts a number of milliseconds to an approximate time period.
Parameters:
{Number} millis
the number of milliseconds
Returns:
{String} the string representation of the period

Documentation generated by JsDoc Toolkit 2.0.2 on Sun May 24 2009 13:14:16 GMT+0200 (CEST)