what about events which are exactly one day long? just from looking at it it looks like the event woud have to be one day and one minute long to count as whole day. It also is theoreticly possible that 30 hours long in this case it wouldn't be 2 whole days.