io.mstream.trader.commons.test.util.date.YahooDateTimeFormatterProvider Maven / Gradle / Ivy
The newest version!
package io.mstream.trader.commons.test.util.date;
import javax.inject.Provider;
import java.time.format.DateTimeFormatter;
class YahooDateTimeFormatterProvider implements Provider {
private static final String DATE_FORMAT = "MM/dd/yyyy";
@Override
public DateTimeFormatter get() {
return DateTimeFormatter.ofPattern(DATE_FORMAT);
}
}