util_priority_from_string


Description:

public static int util_priority_from_string (string string)

Converts a translated priority string to an iCalendar priority value.

Parameters:

string

A string representing the PRIORITY value.

Returns:

the priority (0-9) or -1 if the priority string is not valid.