public static ThaiSolarCalendar of(
        ThaiSolarEra era,
        int yearOfEra,
        int month,
        int dayOfMonth
    ) {

        int prolepticYear = era.toIsoYear(yearOfEra, month);
        PlainDate iso = PlainDate.of(prolepticYear, month, dayOfMonth);
        return new ThaiSolarCalendar(iso);

    }
public static ThaiSolarCalendar of ( ThaiSolarEra era , int yearOfEra , int month , int dayOfMonth ) { int prolepticYear = era . toIsoYear ( yearOfEra , month ) ; PlainDate iso = PlainDate . of ( prolepticYear , month , dayOfMonth ) ; return new ThaiSolarCalendar ( iso ) ; }
/*[deutsch]
<p>Erzeugt ein neues Thai-Solar-Kalenderdatum. </p>

@param   era         Thai era
@param   yearOfEra   Thai year of era {@code >= 1}
@param   month       gregorian month (1-12)
@param   dayOfMonth  day of month
@return  new instance of {@code ThaiSolarCalendar}
@throws  IllegalArgumentException in case of any inconsistencies
@since   3.19/4.15