code: public static boolean compare(Duration a, Duration b) {
  		if (null == a || null == b)
  			return (null == a) && (null == b);
  		return a.equals(b);
  	}
docs: Compare two Duration instances
  @param a - one instance
  @param b - the other instance
  @return true if they are equal, false otherwise