aboutsummaryrefslogtreecommitdiff
path: root/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
diff options
context:
space:
mode:
Diffstat (limited to 'assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md')
-rw-r--r--assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md b/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
index 0336820..db5bad5 100644
--- a/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
+++ b/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
@@ -1,16 +1,19 @@
-% RWT_LAST_RPT(3ADVTRAINS) | Advtrains Developer's Manual
+---
+title: 'rwt_last_rpt(3advtrains)'
+manual: 'Advtrains Developer''s Manual'
+---
-# NAME
+# Name
`last_rpt`, `next_rpt`, `time_from_last_rpt`, `time_to_next_rpt` - Calculate time for repeating events
-# SYNOPSIS
+# Synopsis
* `last_rpt(time, interval, offset)`
* `next_rpt(time, interval, offset)`
* `time_from_last_rpt(interval, offset)`
* `time_to_next_rpt(interval, offset)`
-# DESCRIPTOIN
+# Description
The functions described in this page calculates the time or time difference related to events scheduled to repeat with the given interval and at the given offset, in relation to the given time. Whether and when the event actually takes place is not relevant to the API.
* `last_rpt()` returns the time at which the event was expected to occur the last time