HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Component time.Calendar by barry
expand copy to clipboardexpand
uses time.DateTime

interface CalendarLib {
	void getLocalTime(DateTime d)
	int getMS()
	}

component provides time.Calendar requires native CalendarLib lib
	{
	DateTime Calendar:getTime()
		{
		DateTime t = new DateTime()
		lib.getLocalTime(t)
		
		return t
		}
	
	int Calendar:getMS()
		{
		return lib.getMS()
		}
	
	}
Revision history
To propose a new revision to this entity, use dana source put -uc 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