aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanJacobs2022-04-15 16:25:41 +0200
committerSanJacobs2022-04-15 16:25:41 +0200
commit96ec1b889121412e9404517bc540291424119a4a (patch)
treeeec751a0ed07e8965fd160c091e8d38f206bb94d
parent575c47e93889233fc1a03e9ea5f2cd61e434b55c (diff)
downloadsatscalc-96ec1b889121412e9404517bc540291424119a4a.tar.gz
satscalc-96ec1b889121412e9404517bc540291424119a4a.tar.bz2
satscalc-96ec1b889121412e9404517bc540291424119a4a.zip
Added description for timesplit()
-rwxr-xr-xsrc/time.h3
1 files changed, 3 insertions, 0 deletions
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);