waterml/src/main/java/ucar/nc2/ogc/gml/NcTimeInstantType.java
public static TimeInstantType initTimeInstant(TimeInstantType timeInstant) {
        // @gml:id
        String id = MarshallingUtil.createIdForType(TimeInstantType.class);
        timeInstant.setId(id);

        // gml:timePosition
        NcTimePositionType.initTimePosition(timeInstant.addNewTimePosition());

        return timeInstant;
    }
public static TimeInstantType initTimeInstant(TimeInstantType timeInstant) {
        // @gml:id
        String id = MarshallingUtil.createIdForType(TimeInstantType.class);
        timeInstant.setId(id);

        // gml:timePosition
        NcTimePositionType.initTimePosition(timeInstant.addNewTimePosition());

        return timeInstant;
    }
wml2:Collection/wml2:observationMember/om:OM_Observation/om:resultTime/gml:TimeInstant