Skip to content

Bio Time

Rajab Davudov edited this page Mar 13, 2019 · 3 revisions

Bio Time

Bio Time is additional utility class for time manipulation. It provides basic time interval definitions.

For example:

  • 1d means add 1 day
  • -1d means remove 1 day
  • 3M means add 3 calendar months
  • 3d+5h means add 3 days and 5 hours

Bio Time uses long values and java.time.LocalDateTime internally.

In order to use Bio Time check below:

long next = BioTime.getTime("30d") ;
Clone this wiki locally