MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
void MgDateTime::SetYear ( INT16  year)

Sets the year component of this object The Validate method should be called after the date time value has been fully specified by Set methods.

.NET Syntax
void SetYear(short year);
Java Syntax
void SetYear(short year);
PHP Syntax
void SetYear(int year);
Parameters:
year(short/int) Year in the range of 1 to 9999