aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main/java
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-12-10 21:00:14 +0700
committerGravatar Vitaly Takmazov2016-12-11 18:24:37 +0300
commit0cbdc4ecb927b7ab068e5833caefbba65c9aa87a (patch)
tree284267d6ebcf20e3f6d49e1e272443a55b450444 /juick-core/src/main/java
parenta110dea4804dd1011899a909612ba92e2807718a (diff)
caching date formatter
Diffstat (limited to 'juick-core/src/main/java')
-rw-r--r--juick-core/src/main/java/com/juick/util/DateFormatter.java2
1 files changed, 1 insertions, 1 deletions
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);
}