void SetPeriodicLock( DataStoreConstants::RatingLockPeriod period, qInt8 hour );
Name | Description | |
---|---|---|
in | period | Specify a day of the week or the beginning of a month to make re-rating possible. |
in | hour | The time at which to remove the re-rating lock on the day specified by period . You can specify a value from -23 to 23. You can specify a time on the previous day by using a negative value. For example, if period was DataStoreConstants::RATING_LOCK_PERIOD_DAY1 and hour was -1 , the time specified would be 23:00 on the last day of the previous month. |
Locks ratings such that re-rating is not possible until the specified day of the week or the beginning of the month.
Using this function only allow ratings to be made once a week or once a month. All times are taken to be UTC.
CONFIDENTIAL