Code example for DatatypeFactory

Methods: newDurationYearMonth

0
	public Duration newDurationDayTime(boolean arg0, BigInteger arg1, BigInteger arg2, BigInteger arg3, BigInteger arg4) {
		return factory.newDurationDayTime(arg0, arg1, arg2, arg3, arg4);
	} 
 
	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);
	} 
 
Connect your IDE to all the code out there  Get Codota for Java