Date converter is a java library that converts the date in A.D. to B.S. and vice versa
#Usage ###Converting A.D to B.S
Date date = new Date(); //default java Date object
DateBS dateBS = DateConverter.convertADToBS(date); //returns corresponding DateBS
###Converting B.S to A.D
DateBS dateBS = new DateBS(); //returns current date in B.S
Date date = DateConverter.convertBSToAD(dateBS); //returns corresponding Date object
###Add days in DateBS
DateBS newDateBS = CalendarBS.addXDays(dateBS, daysToAdd)
#Download and Install
Download the following jar and put it on your classpath
dateconverter.jar
Or add a dependency: ###Maven
<dependency>
<groupId>com.github.binodnme</groupId>
<artifactId>date-converter</artifactId>
<version>1.0.1</version>
</dependency>
###Gradle
compile 'com.github.binodnme:date-converter:1.0.1'
or find your dependency here
maven central