Exemplo n.º 1
0
time_t TimeRecording::GetStart() const
{
  if (m_start == int32_t(-1)) // "any time"
    return 0;

  return LocaltimeToUTC(m_start);
}
Exemplo n.º 2
0
time_t AutoRecording::GetStop() const
{
  if (m_startWindow == int32_t(-1)) // "any time"
    return 0;

  return LocaltimeToUTC(m_startWindow);
}
Exemplo n.º 3
0
time_t AutoRecording::GetStop() const
{
  if (tvh->GetSettings().bAutorecApproxTime)
  {
    /* Tvh doesn't have an approximate stop time => "any time" */
    return 0;
  }
  else
  {
    if (m_startWindowEnd == int32_t(-1)) // "any time"
      return 0;

    return LocaltimeToUTC(m_startWindowEnd);
  }
}