interpolateDate
Returns an interpolator between the two dates a
and b
.
Note: no defensive copy of the returned date is created; the same Date instance is returned for every evaluation of the interpolator. No copy is made for performance reasons; interpolators are often part of the inner loop of animated transitions.
function interpolateDate(a: Date, b: Date): ((t: number) => Date);