function toGregorianArguments(aArgs) {
		var oJapanese, oGregorian,
			iEra,
			vYear = aArgs[0];
		if (typeof vYear == "number") {
			if (vYear >= 100) {
				// Year greater than 100 will be treated as gregorian year
				return aArgs;
			} else {
				// Year less than 100 is emperor year in the current era
				iEra = UniversalDate.getCurrentEra(CalendarType.Japanese);
				vYear = [iEra, vYear];
			}
		} else if (!Array.isArray(vYear)) {
			// Invalid year
			vYear = [];
		}

		oJapanese = {
			era: vYear[0],
			year: vYear[1],
			month: aArgs[1],
			day: aArgs[2] !== undefined ? aArgs[2] : 1
		};
		oGregorian = toGregorian(oJapanese);
		aArgs[0] = oGregorian.year;
		return aArgs;
	}
/**
	 * Convert arguments array from japanese date to gregorian data
	 *
	 * @param {object} oJapanese
	 * @return {int}
	 */
Convert arguments array from japanese date to gregorian data
@param {object} oJapanese
@return {int}
Convert arguments array from japanese date to gregorian data @param { object } oJapanese @return { int }
function toGregorianArguments(aArgs) {
		var oJapanese, oGregorian,
			iEra,
			vYear = aArgs[0];
		if (typeof vYear == "number") {
			if (vYear >= 100) {
				return aArgs;
			} else {
				iEra = UniversalDate.getCurrentEra(CalendarType.Japanese);
				vYear = [iEra, vYear];
			}
		} else if (!Array.isArray(vYear)) {
			vYear = [];
		}
		oJapanese = {
			era: vYear[0],
			year: vYear[1],
			month: aArgs[1],
			day: aArgs[2] !== undefined ? aArgs[2] : 1
		};
		oGregorian = toGregorian(oJapanese);
		aArgs[0] = oGregorian.year;
		return aArgs;
	}
function toGregorianArguments ( aArgs ) { var oJapanese , oGregorian , iEra , vYear = aArgs [ 0 ] ; if ( typeof vYear == "number" ) { if ( vYear >= 100 ) { return aArgs ; } else { iEra = UniversalDate . getCurrentEra ( CalendarType . Japanese ) ; vYear = [ iEra , vYear ] ; } } else if ( ! Array . isArray ( vYear ) ) { vYear = [ ] ; } oJapanese = { era : vYear [ 0 ] , year : vYear [ 1 ] , month : aArgs [ 1 ] , day : aArgs [ 2 ] !== undefined ? aArgs [ 2 ] : 1 } ; oGregorian = toGregorian ( oJapanese ) ; aArgs [ 0 ] = oGregorian . year ; return aArgs ; }
Convert arguments array from japanese date to gregorian data
 @param {object} oJapanese
 @return {int}
Convert arguments array from japanese date to gregorian data @param { object } oJapanese @return { int }
// Year greater than 100 will be treated as gregorian year // Year less than 100 is emperor year in the current era // Invalid year