This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.9 | |
ENV LIBRD_VER=1.3.0 | |
WORKDIR /tmp | |
#vishnus-MacBook-Pro:librd vrao$ docker images |grep lib | |
#lib proper_cleanup 675073279e9c 4 seconds ago 53.3MB | |
#lib cleanup 7456af7df73b 2 minutes ago 218MB | |
#lib simple 9724aed9519c 7 minutes ago 342MB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.joda.time.DateTime; | |
import org.joda.time.DateTimeZone; | |
import org.joda.time.format.DateTimeFormat; | |
import org.joda.time.format.DateTimeFormatter; | |
public class DateParsing{ | |
public static void main(String[] args) { | |
System.setProperty("user.timezone", DateTimeZone.forOffsetHours(8).getID()); //singapore timezone |