code: public static void jdToCE(int julianDay, int jdEpochOffset, int[] fields) {
          int c4; // number of 4 year cycle (1461 days)
          int[] r4 = new int[1]; // remainder of 4 year cycle, always positive
  
          c4 = floorDivide(julianDay - jdEpochOffset, 1461, r4);
  
          // exteded year
          fields[0] = 4 * c4 + (r4[0]/365 - r4[0]/1460); // 4 * <number of 4year cycle> + <years within the last cycle>
  
          int doy = (r4[0] == 1460) ? 365 : (r4[0] % 365); // days in present year
  
          // month
          fields[1] = doy / 30; // 30 -> Coptic/Ethiopic month length up to 12th month
          // day
          fields[2] = (doy % 30) + 1; // 1-based days in a month
      }
docs: Convert a Julian day to an Coptic/Ethiopic year, month and day
  @hide unsupported on Android