return new TimePoint(getDate().toTimeOfDay(), attribute);
return new TimePoint(new TimeOfDay(getDate().getHourOfDay(), getDate().getMinuteOfHour()), attribute);
    public TimePoint toTimePoint(AttributeType attribute) {        return new TimePoint(getDate().toTimeOfDay(), attribute);    }