Created
January 16, 2019 22:06
-
-
Save connorboyd/6504c00ffc3aca97566c2e95fac44233 to your computer and use it in GitHub Desktop.
TransactionConverter code snippet for wealthfront engineering blog post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Singleton | |
public class TransactionConverter { | |
@Inject @SystemDate Provider<LocalDate> systemDateProvider; | |
TransactionEntry convertTransaction(Transaction transaction) { | |
LocalDate systemDate = systemDateProvider.get(); | |
// Convert transaction... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment