More actions
Created page with "{{CGscriptClass_Template |Name=<nowiki>DateTime</nowiki> |Description=<nowiki>The DateTime object</nowiki> |Constructors= {{CGscriptConstructors_Template|Parameters= {{CGscriptPa..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{CGscriptClass_Template | {{CGscriptClass_Template |Name=<nowiki>DateTime</nowiki> |Description=<nowiki>The DateTime object</nowiki> |Constructors= {{CGscriptConstructors_Template|Parameters= | ||
|Name=<nowiki>DateTime</nowiki> | |||
|Description=<nowiki>The DateTime object</nowiki> | |||
|Constructors= | |||
{{CGscriptConstructors_Template|Parameters= | |||
{{CGscriptParameters_Template|Type=string|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to parse as a date, syntax is same as for constant values</nowiki>}} | {{CGscriptParameters_Template|Type=string|Name=<nowiki>value</nowiki>|Description=<nowiki>Value to parse as a date, syntax is same as for constant values</nowiki>}} | ||
|Description=<nowiki>New based on a string representation of a date</nowiki>}} | |Description=<nowiki>New based on a string representation of a date</nowiki>}} |Methods= {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} |Properties= {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}}} | ||
|Methods= | |||
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | |||
|Properties= | |||
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | |||
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} |
Revision as of 08:47, 22 September 2011
DateTime
The DateTime object
Constructors
- (string value "Value to parse as a date, syntax is same as for constant values") - New based on a string representation of a date
Methods
- string ToString() - The string representation of the object.
Properties
- string ObjectTypeName { get; } - The name of the type of object.
- TypeInformation TypeInformation { get; } - Get information about this class.