public static final SimpleMutableDateTime ofEpochMilli ( long millis ) { ZonedDateTime zdt = ZonedDateTime . ofInstant ( Instant . ofEpochMilli ( millis ) , ZoneOffset . UTC ) ; SimpleMutableDateTime smt = SimpleMutableDateTime . from ( zdt ) ; return smt ; }
Creates SimpleMutableDateTime and initializes it using milliseconds from epoch .