waterml/src/main/java/ucar/nc2/ogc/gml/NcTimePositionType.java
public static TimePositionType initEndPosition(
            TimePositionType endPosition, CalendarDate date) throws IOException {
        // TEXT
            endPosition.setStringValue(date.toString());

        return endPosition;
    }
public static TimePositionType initEndPosition(
            TimePositionType endPosition, CalendarDate date) throws IOException {
        // TEXT
            endPosition.setStringValue(date.toString());

        return endPosition;
    }
wml2:Collection/wml2:observationMember/om:OM_Observation/om:phenomenonTime/gml:TimePeriod/gml:endPosition