public class X { private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy/MMMM/dd HH:mm:ss"); } ยก