public TimePoint(TimeOfDay timePoint, AttributeType attribute, AttributeType attributeToInterval) { setPoint(timePoint); pointAttributes = new Attributes(attribute); intervalAttributes = new Attributes(); if (attributeToInterval != null) { intervalAttributes.addAttribute(attributeToInterval); } entity = null;
public TimePoint(TimeOfDay timePoint, AttributeType attribute) { TimeOfDay timeIn = new TimeOfDay(timePoint.getHourOfDay(), timePoint.getMinuteOfHour(), 0); setTime(timeIn); setPointAttributes(new Attributes(attribute)); setIntervalAttributes(new Attributes()); setNextDay(false);
    public TimePoint(TimeOfDay timePoint, AttributeType attribute, AttributeType attributeToInterval) {        setPoint(timePoint);        pointAttributes = new Attributes(attribute);        intervalAttributes = new Attributes();        if (attributeToInterval != null) {            intervalAttributes.addAttribute(attributeToInterval);        }        entity = null;    }