code: public XMLGregorianCalendar newGYear(int year) {
          XMLGregorianCalendar cal=dataFactory.newXMLGregorianCalendar();
          cal.setYear(year);
          return cal;
      }
docs: /*
  (non-Javadoc)
  @see org.openprovenance.prov.model.LiteralConstructor#newGYear(int)