util_priority_to_string


Description:

public static unowned string util_priority_to_string (int priority)

Converts an iCalendar PRIORITY value to a translated string.

Any unknown priority value (i.e. not 0-9) will be returned as "" (undefined).

Parameters:

priority

Priority value.

Returns:

a string representing the PRIORITY value. This value is a constant, so it should never be freed.