因为严格按照ISO 8601的格式,因此,将字符串转换为 LocalDateTime 就可以传入标准格式: LocalDateTime dt = LocalDateTime.parse("2019-11-19T15:16:17"); LocalDate d = ...
確定! 回上一頁