navigator_invoke_specific_time_set_year()

Set the year slot of a specific time structure.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_specific_time_set_year(navigator_invoke_specific_time_t *specific_time,
                                                    int year)

Since:

BlackBerry 10.3.0

Arguments:

specific_time

The navigator_invoke_specific_time_t structure to modify.

year

The year to set.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

This function sets the year slot of a navigator_invoke_specific_time_t structure.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.