标签:Java

  • java.time.Period ofWeeks()方法

    java time Period ofWeeks(intweeks)方法获取表示周数的Period。1语法publicstaticPeriodofWeeks(intweeks)2参数weeks:周数,正或负值。3

  • java.time.Period ofMonths()方法

    java time Period ofMonths(intmonths)方法获取表示月数的Period。1语法publicstaticPeriodofMonths(intmonths)2参数months:月数,正数或

  • java.time.Period ofDays()方法

    java time Period ofDays(intdays)方法获取表示多个标准24小时天数的Period。1语法publicstaticPeriodofDays(intdays)2参数days:天数,正

  • java.time.Period of()方法

    java time Period of(intyears,intmonths,intdays)方法获取表示指定单位中总数的Period。1语法publicstaticPeriodof(intyears,intmonths,

  • java.time.Period normalized()方法

    java time Period normalized()方法返回此期间的副本,其中年份和月份已标准化。1语法publicPeriodnormalized()2参数无3返回值一个基于此Pe

  • java.time.Period negated()方法

    java time Period negated()方法返回此Period的副本,其长度为negated。1语法publicPeriodnegated()2参数无3返回值一个基于此Period的Perio

  • java.time.Period multipliedBy()方法

    java time Period multipliedBy(longmultiplicand)方法返回此Period的副本乘以标量。1语法publicPeriodmultipliedBy(longmultiplicand)2参

  • java.time.Period minusYears()方法

    java time Period minusYears(longyearsToSubtract)方法返回此Period的副本,并减去指定的年份。1语法publicPeriodminusYears(longyearsToS

  • java.time.Period minusMonths()方法

    java time Period minusMonths(longmonthsToSubtract)方法返回此Period的副本,并减去指定的月份。1语法publicPeriodminusMonths(longmonth

  • java.time.Period minusDays()方法

    java time Period minusDays(longdaysToSubtract)方法返回此Period的副本,其中减去了标准24小时内指定的Period。1语法publicPeriodminusDa