sundatepicker/src/main/java/com/alirezaafkar/sundatepicker/components/JDF.java
private void JDNToGregorian() {
        int j = 4 * JDN + 139361631;
        j = j + (((((4 * JDN + 183187720) / 146097) * 3) / 4) * 4 - 3908);
        int i = ((j % 1461) / 4) * 5 + 308;
        gDay = (i % 153) / 5 + 1;
        gMonth = ((i / 153) % 12) + 1;
        gYear = j / 1461 - 100100 + (8 - gMonth) / 6;
    }
/**
     * JDNToGregorian: Calculates Gregorian calendar dates from the julian day
     * number (JDN) for the period since JDN=-34839655 (i.e. the year -100100 of
     * both calendars) to some millions (10^6) years ahead of the present. The
     * algorithm is based on D.A. Hatcher, Q.Jl.R.Astron.Soc. 25(1984), 53-55
     * slightly modified by K.M. Borkowski, Post.Astron. 25(1987), 275-279).
     */
Calculates Gregorian calendar dates from the julian day
number (JDN) for the period since JDN=-34839655  to some millions (10^6) years ahead of the present. The
algorithm is based on D.A.
Calculates Gregorian calendar dates from the julian day number ( JDN ) for the period since JDN = - 34839655 to some millions ( 10^6 ) years ahead of the present . The algorithm is based on D . A .
private void JDNToGregorian() {
        int j = 4 * JDN + 139361631;
        j = j + (((((4 * JDN + 183187720) / 146097) * 3) / 4) * 4 - 3908);
        int i = ((j % 1461) / 4) * 5 + 308;
        gDay = (i % 153) / 5 + 1;
        gMonth = ((i / 153) % 12) + 1;
        gYear = j / 1461 - 100100 + (8 - gMonth) / 6;
    }
private void JDNToGregorian ( ) { int j = 4 * JDN + 139361631 ; j = j + ( ( ( ( ( 4 * JDN + 183187720 ) / 146097 ) * 3 ) / 4 ) * 4 - 3908 ) ; int i = ( ( j % 1461 ) / 4 ) * 5 + 308 ; gDay = ( i % 153 ) / 5 + 1 ; gMonth = ( ( i / 153 ) % 12 ) + 1 ; gYear = j / 1461 - 100100 + ( 8 - gMonth ) / 6 ; }
JDNToGregorian: Calculates Gregorian calendar dates from the julian day
 number (JDN) for the period since JDN=-34839655 (i.e.
JDNToGregorian : Calculates Gregorian calendar dates from the julian day number ( JDN ) for the period since JDN = - 34839655 ( i . e .