Code example for DatatypeFactory

Methods: newDurationYearMonth

0
	public Duration newDurationYearMonth(long arg0) {
		return factory.newDurationYearMonth(arg0);
	} 
 
	public Duration newDurationYearMonth(String arg0) {
		return factory.newDurationYearMonth(arg0);
	} 
 
	public Duration newDurationYearMonth(boolean arg0, int arg1, int arg2) {
		return factory.newDurationYearMonth(arg0, arg1, arg2);
	} 
 
	public Duration newDurationYearMonth(boolean arg0, BigInteger arg1, BigInteger arg2) {
		return factory.newDurationYearMonth(arg0, arg1, arg2);
	} 
 
	public XMLGregorianCalendar newXMLGregorianCalendar() {
		return factory.newXMLGregorianCalendar();
	} 
 
Connect your IDE to all the code out there  Get Codota for Java