Refactor date comparison and create type B operation

Refactor date comparison on ScheduledTransfer to use Comparable
Add type B transfer operation