diff options
author | Alexander Alexeev | 2016-12-10 21:00:14 +0700 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-11 18:24:37 +0300 |
commit | 0cbdc4ecb927b7ab068e5833caefbba65c9aa87a (patch) | |
tree | 284267d6ebcf20e3f6d49e1e272443a55b450444 /juick-core/src | |
parent | a110dea4804dd1011899a909612ba92e2807718a (diff) |
caching date formatter
Diffstat (limited to 'juick-core/src')
-rw-r--r-- | juick-core/src/main/java/com/juick/util/DateFormatter.java | 2 |
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); } |