Code example for DatatypeFactory

Methods: newDuration

0
	public Duration newDuration(long arg0) {
		return factory.newDuration(arg0);
	} 
 
	public Duration newDuration(String arg0) {
		return factory.newDuration(arg0);
	} 
 
	public Duration newDuration(
            final boolean isPositive,
            final int years,
            final int months,
            final int days,
            final int hours,
            final int minutes,
            final int seconds) {
 
		return factory.newDuration(isPositive, years, months, days, hours, minutes, seconds);
	} 
 
Experience pair programming with AI  Get Codota for Java