/** 日付を元にTimePointを生成します。 */
 public static TimePoint of(LocalDate day) {
   return of(day, day.atStartOfDay());
 }
 /** 指定日付以前か。(day <= targetDay) */
 public boolean beforeEqualsDay(LocalDate targetDay) {
   return day.compareTo(targetDay) <= 0;
 }
 /** 指定日付以降か。(targetDay &lt;= day) */
 public boolean afterEqualsDay(LocalDate targetDay) {
   return 0 <= day.compareTo(targetDay);
 }
 /** 指定日付と同じか。(day == targetDay) */
 public boolean equalsDay(LocalDate targetDay) {
   return day.compareTo(targetDay) == 0;
 }