summaryrefslogtreecommitdiff
path: root/%2525252525252525252525252525252525252525253fid%25252525252525252525252525252...
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2020-05-07 21:39:23 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2020-05-12 09:24:11 -0400
commitbd238bfd7c443fd974f5b7edd6c1abc0349bfa78 (patch)
tree46ee867794426eee0eae031d65ffd86b98026693 /%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253dd2791b046a28c232573f4d55fbeca5a6912dd635%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253dd8c1c48e78bd6cdfbee922c6bda4022c7d7cb9dd%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536%25252525252525252525252525252525253fid%25252525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536%252525252525252525252525252525253fid%252525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536&id2%252525252525252525252525252525253d12514eab7f2d206e967d50d99039bf76f974ba2a%2525252525252525252525252525253fid%2525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536%25252525252525252525252525253fid%25252525252525252525252525253d12514eab7f2d206e967d50d99039bf76f974ba2a%252525252525252525252525253fid%252525252525252525252525253d12514eab7f2d206e967d50d99039bf76f974ba2a&id2%252525252525252525252525253d92dc069fc4f80c0c2afd542beb012695ad702581%2525252525252525252525253fid%2525252525252525252525253d12514eab7f2d206e967d50d99039bf76f974ba2a%25252525252525252525253fid%25252525252525252525253d92dc069fc4f80c0c2afd542beb012695ad702581%252525252525252525253fid%252525252525252525253d92dc069fc4f80c0c2afd542beb012695ad702581%2525252525252525253fid%2525252525252525253d61a743c56acb6854a70094533c6138275d7333b5%25252525252525253fid%25252525252525253d61a743c56acb6854a70094533c6138275d7333b5&id2%25252525252525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%252525252525253fid%252525252525253d61a743c56acb6854a70094533c6138275d7333b5%2525252525253fid%2525252525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%25252525253fid%25252525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%252525253fid%252525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%2525253fid%2525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%25253fid%25253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%253fid%253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%3fid%3dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78&id2%3dfabacecd16eb62ff94dfa8955862852a410e3524?id=bd238bfd7c443fd974f5b7edd6c1abc0349bfa78
parentfabacecd16eb62ff94dfa8955862852a410e3524 (diff)
Fix recurrence rule expansion with ordered weekday
When the order of a weekday in BYDAY rule expansion (like -5SA or 5SU for monthly or 55WE for yearly) exceeds the number of available weekdays in the period (month or year), rule expansion with negative order could result in a floating point exception. The reason: the modified frequency might become zero. Solution. Check order against number of available weekdays and terminate expansion early whenever possible (also for positive orders). Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253dd2791b046a28c232573f4d55fbeca5a6912dd635%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253dd8c1c48e78bd6cdfbee922c6bda4022c7d7cb9dd%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536%25252525252525252525252525252525253fid%25252525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536%252525252525252525252525252525253fid%252525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536&id2%252525252525252525252525252525253d12514eab7f2d206e967d50d99039bf76f974ba2a%2525252525252525252525252525253fid%2525252525252525252525252525253d32783496e6a002f6408ad21d1436e61442173536%25252525252525252525252525253fid%25252525252525252525252525253d12514eab7f2d206e967d50d99039bf76f974ba2a%252525252525252525252525253fid%252525252525252525252525253d12514eab7f2d206e967d50d99039bf76f974ba2a&id2%252525252525252525252525253d92dc069fc4f80c0c2afd542beb012695ad702581%2525252525252525252525253fid%2525252525252525252525253d12514eab7f2d206e967d50d99039bf76f974ba2a%25252525252525252525253fid%25252525252525252525253d92dc069fc4f80c0c2afd542beb012695ad702581%252525252525252525253fid%252525252525252525253d92dc069fc4f80c0c2afd542beb012695ad702581%2525252525252525253fid%2525252525252525253d61a743c56acb6854a70094533c6138275d7333b5%25252525252525253fid%25252525252525253d61a743c56acb6854a70094533c6138275d7333b5&id2%25252525252525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%252525252525253fid%252525252525253d61a743c56acb6854a70094533c6138275d7333b5%2525252525253fid%2525252525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%25252525253fid%25252525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%252525253fid%252525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%2525253fid%2525253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%25253fid%25253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%253fid%253dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78%3fid%3dbd238bfd7c443fd974f5b7edd6c1abc0349bfa78&id2%3dfabacecd16eb62ff94dfa8955862852a410e3524?id=bd238bfd7c443fd974f5b7edd6c1abc0349bfa78')
0 files changed, 0 insertions, 0 deletions