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