Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Singleton
- public class TransactionConverter {
- @Inject @SystemDate Provider<LocalDate> systemDateProvider;
- TransactionEntry convertTransaction(Transaction transaction) {
- LocalDate systemDate = systemDateProvider.get();
- // Convert transaction...
- }
- }
Add Comment
Please, Sign In to add comment