protected void calculatePersianDate(){
  long julianDate=((long)Math.floor((getTimeInMillis() - PersianCalendarConstants.MILLIS_JULIAN_EPOCH)) / PersianCalendarConstants.MILLIS_OF_A_DAY);
  long PersianRowDate=PersianCalendarUtils.julianToPersian(julianDate);
  long year=PersianRowDate >> 16;
  int month=(int)(PersianRowDate & 0xff00) >> 8;
  int day=(int)(PersianRowDate & 0xff);
  this.persianYear=(int)(year > 0 ? year : year - 1);
  this.persianMonth=month;
  this.persianDay=day;
}

protected void calculatePersianDate ( ) { long julianDate = ( ( long ) Math . floor ( ( getTimeInMillis ( ) - PersianCalendarConstants . MILLIS_JULIAN_EPOCH ) ) / PersianCalendarConstants . MILLIS_OF_A_DAY ) ; long PersianRowDate = PersianCalendarUtils . julianToPersian ( julianDate ) ; long year = PersianRowDate > > 16 ; int month = ( int ) ( PersianRowDate & 0xff00 ) > > 8 ; int day = ( int ) ( PersianRowDate & 0xff ) ; this . persianYear = ( int ) ( year > 0 ? year : year - 1 ) ; this . persianMonth = month ; this . persianDay = day ; }
calculate persian date from current date and populates the corresponding fields ( persianyear , persianmonth , persianday )
