summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/timer.c b/timer.c
index 0933a33..59c21ec 100644
--- a/timer.c
+++ b/timer.c
@@ -120,6 +120,13 @@ time_t cMyTime::GetRounded() {
return mktime(rounded);
}
+bool cMyTime::NowVisible(void) {
+ if (t > tStart)
+ return true;
+ return false;
+}
+
+
void cMyTime::debug() {
esyslog("t: %s, tStart: %s, tEnd: %s", *TimeString(t), *TimeString(tStart), *TimeString(tEnd));
}