DateTime.y


Description:

[ CCode ( has_construct_function = false ) ]
public DateTime.y (int year)

Creates a new DateTime using the date and times in the gregorian calendar in the local timezone.

year should be from 1 to 9999.

Parameters:

year

the gregorian year

Returns:

the newly created DateTime, or null on error.




2022 vala-language.org