From 96ec1b889121412e9404517bc540291424119a4a Mon Sep 17 00:00:00 2001 From: SanJacobs Date: Fri, 15 Apr 2022 16:25:41 +0200 Subject: Added description for timesplit() --- src/time.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/time.h b/src/time.h index 5087108..6d90d5c 100755 --- a/src/time.h +++ b/src/time.h @@ -19,6 +19,9 @@ class day{ }; timeblock timesplit(timeblock &input_block, moment splitpoint); + // Splits a timeblock at splitpoint. + // It changes the input_block to end at splitpoint, and returns a new timeblock + // that lasts from splitpoint to where the input_block used to end. void wind(moment &input_moment, int minutes, int hours, int days); -- cgit v1.2.1