Code example for DatatypeFactory

Methods: newDuration

0
	public int getLocalTimezoneOffsetMinutes() { 
		return getLocalTimezoneOffsetMillis() / 60000; 
	} 
	 
	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) {