-
-
Save jasongorman/96504b3b7a33636586d394379171ea0d to your computer and use it in GitHub Desktop.
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
StockMonitor monitor = new StockMonitor( | |
alert, | |
new ProductData( | |
new RESTClient( | |
new Web(), | |
new RequestBuilder())), | |
new LeadTimeReorderLevel( | |
new ThirtyDayAverageSalesRate( | |
new SalesData( | |
new RESTClient( | |
new Web(), | |
new RequestBuilder() | |
), | |
() -> { | |
Calendar calendar = Calendar.getInstance(); | |
calendar.set(2019, Calendar.AUGUST, 1); | |
return calendar.getTime(); | |
} | |
) | |
) | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment