From 0cbdc4ecb927b7ab068e5833caefbba65c9aa87a Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Sat, 10 Dec 2016 21:00:14 +0700 Subject: caching date formatter --- juick-core/src/main/java/com/juick/util/DateFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-core/src/main/java/com') diff --git a/juick-core/src/main/java/com/juick/util/DateFormatter.java b/juick-core/src/main/java/com/juick/util/DateFormatter.java index 34585c63..c4e7095b 100644 --- a/juick-core/src/main/java/com/juick/util/DateFormatter.java +++ b/juick-core/src/main/java/com/juick/util/DateFormatter.java @@ -13,7 +13,7 @@ import java.util.Date; public class DateFormatter { private final DateTimeFormatter formatter; - DateFormatter(String pattern) { + public DateFormatter(String pattern) { formatter = DateTimeFormatter.ofPattern(pattern); } -- cgit v1.2.3