// Index (Overnight and Ibor-like)
final String onIndexName = getConventionName(Currency.JPY, OVERNIGHT);
final ExternalId onIndexId = ExternalId.of(SCHEME_NAME, onIndexName);
final Convention onIndex = new OvernightIndexConvention(onIndexName, getIds(Currency.JPY, OVERNIGHT), ACT_365, 1, Currency.JPY, JP);
final String iborConventionName = getConventionName(Currency.JPY, LIBOR);
final Convention liborIndex = new IborIndexConvention(iborConventionName, getIds(Currency.JPY, LIBOR), ACT_360, MODIFIED_FOLLOWING, 2, true, Currency.JPY,
LocalTime.of(11, 00), "JP", JPGB, JP, "");
final ExternalId liborConventionId = ExternalId.of(SCHEME_NAME, iborConventionName);
final Convention tiborJPIndex = new IborIndexConvention(getConventionName(Currency.JPY, TIBOR_JAPANESE), getIds(Currency.JPY, TIBOR_JAPANESE), ACT_365, MODIFIED_FOLLOWING, 2, true, Currency.JPY,
LocalTime.of(11, 00), "JP", JP, JP, "");
final Convention tiborEuIndex = new IborIndexConvention(getConventionName(Currency.JPY, TIBOR_EUROYEN), getIds(Currency.JPY, TIBOR_EUROYEN), ACT_360, MODIFIED_FOLLOWING, 2, true, Currency.JPY,
LocalTime.of(11, 00), "JP", JP, JP, "");
// Deposit
final String depositONConventionName = getConventionName(Currency.JPY, DEPOSIT_ON);
final DepositConvention depositONConvention = new DepositConvention(depositONConventionName, getIds(Currency.JPY, DEPOSIT_ON), ACT_365, FOLLOWING, 0, false, Currency.JPY, JP);
final String depositConventionName = getConventionName(Currency.JPY, DEPOSIT);