Class Programme : getTimeSummary Method


String getTimeSummary()

Summary

A summary of the time until the programme is due to start or how long is left.


Remarks

This method would return, for example, the following strings:

"Already shown"

"1 hour and 34 minutes left"

"starting in 1 hour and 25 minutes"

"starting tomorrow afternoon"

"starting in 3 days"


Returns


Returns worded description depending on if the programme has been broadcast, is on now, or is on later.


Requirements

Build 1067