public static ThaiBuddhistDate from(TemporalAccessor temporal) { return ThaiBuddhistDate.from(temporal); }
switch(cal.getCalendarType()) { case "gregory": getDate = i -> i; break; case "buddhist": getDate = i -> ThaiBuddhistDate.from(i); break; case "japanese": getDate = i -> JapaneseDate.from(i) ; break; default: getDate = i -> i; break;
public PastDummyEntity(ZonedDateTime dateTime) { calendar = GregorianCalendar.from( dateTime ); date = calendar.getTime(); instant = dateTime.toInstant(); localDateTime = dateTime.toLocalDateTime(); hijrahDate = HijrahDate.from( dateTime ); japaneseDate = JapaneseDate.from( dateTime ); localDate = LocalDate.from( dateTime ); minguoDate = MinguoDate.from( dateTime ); offsetDateTime = dateTime.toOffsetDateTime(); thaiBuddhistDate = ThaiBuddhistDate.from( dateTime ); year = Year.from( dateTime ); yearMonth = YearMonth.from( dateTime ); zonedDateTime = dateTime; } }
public FutureDummyEntity(ZonedDateTime dateTime) { calendar = GregorianCalendar.from( dateTime ); date = calendar.getTime(); instant = dateTime.toInstant(); localDateTime = dateTime.toLocalDateTime(); hijrahDate = HijrahDate.from( dateTime ); japaneseDate = JapaneseDate.from( dateTime ); localDate = LocalDate.from( dateTime ); minguoDate = MinguoDate.from( dateTime ); offsetDateTime = dateTime.toOffsetDateTime(); thaiBuddhistDate = ThaiBuddhistDate.from( dateTime ); year = Year.from( dateTime ); yearMonth = YearMonth.from( dateTime ); zonedDateTime = dateTime; } }
public PastDummyEntity(ZonedDateTime dateTime) { calendar = GregorianCalendar.from( dateTime ); date = calendar.getTime(); instant = dateTime.toInstant(); localDateTime = dateTime.toLocalDateTime(); hijrahDate = HijrahDate.from( dateTime ); japaneseDate = JapaneseDate.from( dateTime ); localDate = LocalDate.from( dateTime ); minguoDate = MinguoDate.from( dateTime ); offsetDateTime = dateTime.toOffsetDateTime(); thaiBuddhistDate = ThaiBuddhistDate.from( dateTime ); year = Year.from( dateTime ); yearMonth = YearMonth.from( dateTime ); zonedDateTime = dateTime; } }
public FutureOrPresentDummyEntity(ZonedDateTime dateTime) { calendar = GregorianCalendar.from( dateTime ); date = calendar.getTime(); instant = dateTime.toInstant(); localDateTime = dateTime.toLocalDateTime(); hijrahDate = HijrahDate.from( dateTime ); japaneseDate = JapaneseDate.from( dateTime ); localDate = LocalDate.from( dateTime ); minguoDate = MinguoDate.from( dateTime ); offsetDateTime = dateTime.toOffsetDateTime(); thaiBuddhistDate = ThaiBuddhistDate.from( dateTime ); year = Year.from( dateTime ); yearMonth = YearMonth.from( dateTime ); zonedDateTime = dateTime; } }
public PastOrPresentDummyEntity(ZonedDateTime dateTime) { calendar = GregorianCalendar.from( dateTime ); date = calendar.getTime(); instant = dateTime.toInstant(); localDateTime = dateTime.toLocalDateTime(); hijrahDate = HijrahDate.from( dateTime ); japaneseDate = JapaneseDate.from( dateTime ); localDate = LocalDate.from( dateTime ); minguoDate = MinguoDate.from( dateTime ); offsetDateTime = dateTime.toOffsetDateTime(); thaiBuddhistDate = ThaiBuddhistDate.from( dateTime ); year = Year.from( dateTime ); yearMonth = YearMonth.from( dateTime ); zonedDateTime = dateTime; } }
public PastOrPresentDummyEntity(ZonedDateTime dateTime) { calendar = GregorianCalendar.from( dateTime ); date = calendar.getTime(); instant = dateTime.toInstant(); localDateTime = dateTime.toLocalDateTime(); hijrahDate = HijrahDate.from( dateTime ); japaneseDate = JapaneseDate.from( dateTime ); localDate = LocalDate.from( dateTime ); minguoDate = MinguoDate.from( dateTime ); offsetDateTime = dateTime.toOffsetDateTime(); thaiBuddhistDate = ThaiBuddhistDate.from( dateTime ); year = Year.from( dateTime ); yearMonth = YearMonth.from( dateTime ); zonedDateTime = dateTime; } }
private FutureOrPresentDummyEntity(ZonedDateTime dateTime) { calendar = GregorianCalendar.from( dateTime ); date = calendar.getTime(); instant = dateTime.toInstant(); localDateTime = dateTime.toLocalDateTime(); hijrahDate = HijrahDate.from( dateTime ); japaneseDate = JapaneseDate.from( dateTime ); localDate = LocalDate.from( dateTime ); minguoDate = MinguoDate.from( dateTime ); offsetDateTime = dateTime.toOffsetDateTime(); thaiBuddhistDate = ThaiBuddhistDate.from( dateTime ); year = Year.from( dateTime ); yearMonth = YearMonth.from( dateTime ); zonedDateTime = dateTime; } }
public FutureDummyEntity(ZonedDateTime dateTime) { calendar = GregorianCalendar.from( dateTime ); date = calendar.getTime(); instant = dateTime.toInstant(); localDateTime = dateTime.toLocalDateTime(); hijrahDate = HijrahDate.from( dateTime ); japaneseDate = JapaneseDate.from( dateTime ); localDate = LocalDate.from( dateTime ); minguoDate = MinguoDate.from( dateTime ); offsetDateTime = dateTime.toOffsetDateTime(); thaiBuddhistDate = ThaiBuddhistDate.from( dateTime ); year = Year.from( dateTime ); yearMonth = YearMonth.from( dateTime ); zonedDateTime = dateTime; } }