Skip to content

Bio Time Difference

Rajab Davudov edited this page Mar 14, 2019 · 2 revisions

Bio Time Difference

This functionality provides how many intervals resides between two dates.

int intervals = BioTime.getDiff(start, end, "1d") ;

Here start and end are long values of date and function will return how many days resides between these dates.

Internal logic is to start from start and add 1d intervals until we reach end, and counted intervals is returned.

Clone this wiki locally