private long toTime(final TemporalAccessor temporalAccessor) {
		Calendar calendar = Calendar.getInstance();
		setField(calendar, Calendar.YEAR, temporalAccessor, ChronoField.YEAR, 0, 1970);
		setField(calendar, Calendar.MONTH, temporalAccessor, ChronoField.MONTH_OF_YEAR, -1, 0);
		setField(calendar, Calendar.DATE, temporalAccessor, ChronoField.DAY_OF_MONTH, 0, 1);
		setField(calendar, Calendar.HOUR_OF_DAY, temporalAccessor, ChronoField.HOUR_OF_DAY, 0, 0);
		setField(calendar, Calendar.MINUTE, temporalAccessor, ChronoField.MINUTE_OF_HOUR, 0, 0);
		setField(calendar, Calendar.SECOND, temporalAccessor, ChronoField.SECOND_OF_MINUTE, 0, 0);
		setField(calendar, Calendar.MILLISECOND, temporalAccessor, ChronoField.MILLI_OF_SECOND, 0, 0);
		return calendar.getTimeInMillis();
	}
private long toTime ( final TemporalAccessor temporalAccessor ) { Calendar calendar = Calendar . getInstance ( ) ; setField ( calendar , Calendar . YEAR , temporalAccessor , ChronoField . YEAR , 0 , 1970 ) ; setField ( calendar , Calendar . MONTH , temporalAccessor , ChronoField . MONTH_OF_YEAR , - 1 , 0 ) ; setField ( calendar , Calendar . DATE , temporalAccessor , ChronoField . DAY_OF_MONTH , 0 , 1 ) ; setField ( calendar , Calendar . HOUR_OF_DAY , temporalAccessor , ChronoField . HOUR_OF_DAY , 0 , 0 ) ; setField ( calendar , Calendar . MINUTE , temporalAccessor , ChronoField . MINUTE_OF_HOUR , 0 , 0 ) ; setField ( calendar , Calendar . SECOND , temporalAccessor , ChronoField . SECOND_OF_MINUTE , 0 , 0 ) ; setField ( calendar , Calendar . MILLISECOND , temporalAccessor , ChronoField . MILLI_OF_SECOND , 0 , 0 ) ; return calendar . getTimeInMillis ( ) ; }
時間への変換

@param temporalAccessor 時間的オブジェクト
@return カレンダー時間のミリ秒