java.time.LocalDate.get() 方法示例 java.time.LocalDate.from() 方法示例 java.time.LocalDate.getChronology() 方法示例 java.time.LocalDate.get() 方法示例 package com.codingdict; import java.time.LocalDate; import java.time.temporal.ChronoField; public class LocalDateDemo { public static void main(String[] args) { LocalDate date = LocalDate.parse("2017-02-03"); System.out.println(date.get(ChronoField.DAY_OF_MONTH)); } } java.time.LocalDate.from() 方法示例 java.time.LocalDate.getChronology() 方法示例