标签:Java

  • java.time.ZonedDateTime ofInstant()方法

    java time ZonedDateTime ofInstant(Instantinstant,ZoneIdzone)方法从Instant和区域ID获取ZonedDateTime的实例。1语法publicstaticZonedDa

  • java.time.ZonedDateTime of()方法

    java time ZonedDateTime of(LocalDateTimedate,ZoneIdzone)方法从日期时间和时区获取ZonedDateTime的实例。1语法publicstaticZonedDateTi

  • java.time.ZonedDateTime of()方法

    java time ZonedDateTime of(LocalDateTimedate,ZoneIdzone)方法从日期时间和时区获取ZonedDateTime的实例。1语法publicstaticZonedDateTi

  • java.time.ZonedDateTime of()方法

    java time ZonedDateTime of(intyear,intmonth,intdayOfMonth,inthour,intminute,intsecond,intnanoOfSecond,ZoneIdzone)方法从年,

  • java.time.ZonedDateTime now()方法

    java time ZonedDateTime now(ZoneIdzone)方法从指定时区中的系统时钟获取当前日期时间。1语法publicstaticZonedDateTimenow(ZoneIdzone)2

  • java.time.ZonedDateTime now()方法

    java time ZonedDateTime now(Clockclock)方法从指定的时钟获取当前日期时间。1语法publicstaticZonedDateTimenow(Clockclock)2参数clock:

  • java.time.ZonedDateTime now()方法

    java time ZonedDateTime now()方法从默认时区中的系统时钟获取当前日期时间。1语法publicstaticZonedDateTimenow()2参数无3返回值使用系统

  • java.time.ZonedDateTime minusYears()方法

    java time ZonedDateTime minusYears(longyearsToSubtract)方法返回此ZonedDateTime减去指定的年份的副本。1语法publicZonedDateTimeminusY

  • java.time.ZonedDateTime minusWeeks()方法

    java time ZonedDateTime minusWeeks(longweeksToSubtract)方法返回此ZonedDateTime减去指定周数的副本。1语法publicZonedDateTimeminusWee

  • java.time.ZonedDateTime minusSeconds()方法

    java time ZonedDateTime minusSeconds(longseconds)方法返回此ZonedDateTime减去指定秒数的副本。1语法publicZonedDateTimeminusSeconds(l