aboutsummaryrefslogtreecommitdiff
path: root/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-08-11 19:07:42 +0200
committerY. Wang <yw05@forksworld.de>2022-08-11 19:55:30 +0200
commitb4ac74c41911ee7771e88da91208c1eb16c4b752 (patch)
treeb2d9678b8c09260f28ca8ccd1b66f27ca0ae4a96 /assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
parentbdcd24f6f78ed62f43b418a5bb50553001b5a6ec (diff)
downloadadvtrains-b4ac74c41911ee7771e88da91208c1eb16c4b752.tar.gz
advtrains-b4ac74c41911ee7771e88da91208c1eb16c4b752.tar.bz2
advtrains-b4ac74c41911ee7771e88da91208c1eb16c4b752.zip
Reformat manual pages
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