format_age


Description:

public string? format_age (uint age)

Format age as a human-readable string in the given rating system.

This is the way to present system-specific strings in a UI.

Parameters:

age

a CSM age to format

system

an ContentRatingSystem

Returns:

a newly allocated formatted version of age, or null if the given system has no representation for age




2022 vala-language.org