get_hour


Description:

public int get_hour ()

Retrieves the hour of the day represented by this in the gregorian calendar.

The return is in the range of 0 to 23.

Parameters:

this

a DateTime

Returns:

the hour of the day, or -1 if none is set.




2022 vala-language.org