src/sap.ui.core/src/sap/ui/core/date/Persian.js
function toPersian(oGregorian) {
		var iJulianDayNumber = g2d(oGregorian.year, oGregorian.month + 1, oGregorian.day);
		return d2j(iJulianDayNumber);
	}
function toPersian(oGregorian) {
		var iJulianDayNumber = g2d(oGregorian.year, oGregorian.month + 1, oGregorian.day);
		return d2j(iJulianDayNumber);
	}
function toPersian ( oGregorian ) { var iJulianDayNumber = g2d ( oGregorian . year , oGregorian . month + 1 , oGregorian . day ) ; return d2j ( iJulianDayNumber ) ; }
Calculate Persian date from gregorian

@param {object} oGregorian a JS object containing day, month and year in the gregorian calendar
@private
Calculate Persian date from gregorian