day_position


Description:

[ Version ( since = "1.0" ) ]
public static int day_position (short day)

Decodes a day to a position of the weekday.

Parameters:

day

The encoded day which represents the day of the week and Nth day of the week

Returns:

The decoded day of the week. 0 == any of day of week. 1 == first, 2 = second, -2 == second to last, etc




2022 vala-language.org