src/org/kocakosm/pitaya/time/Duration.java
public static Duration between(Date start, Date end)
	{
		return new Duration(end.getTime() - start.getTime());
	}
public static Duration between(Date start, Date end)
	{
		return new Duration(end.getTime() - start.getTime());
	}
public static Duration between ( Date start , Date end ) { return new Duration ( end . getTime ( ) - start . getTime ( ) ) ; }
Creates a new {@code Duration} instance representing the amount of
time elapsed between the given dates.

@param start the start date.
@param end the end date.

@return the duration between {@code start} and {@code end}.

@throws NullPointerException if one of the arguments is {@code null}.
Creates a new { @code Duration } instance representing the amount of time elapsed between the given dates .