HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file time.Calendar by barry
expand copy to clipboardexpand
/*
 {"description" : "Retrieves the current system date and time."}
*/

uses DateTime

interface Calendar{
	/*
	{ "@description" : "Returns the current date and time." }
	*/
	DateTime getTime()
	
	/*
	{ "@description" : "Get the number of milliseconds that have ellapsed since a fixed point in time (e.g. system start). This function can be used to quickly calculate how much time has passed between two points. Note that a call to getMS() may return a smaller number than a previous call, if the millisecond time value has reached the maximum integer value and wrapped around zero. Implementations should check for this condition and perform an appropriate calculation." }
	*/
	int getMS()
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n time.Calendar -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation