标签:OffsetTime

  • java.time.OffsetTime get()方法

    java time OffsetTime get(TemporalFieldfield)方法从此时间获取指定字段的int值。1语法publicintget(TemporalFieldfield)2参数field:要获

  • java.time.OffsetTime withSecond()方法

    java time OffsetTime withSecond(intsecond)方法返回此OffsetTime的副本,并更改了秒钟。1语法publicOffsetTimewithSecond(intsecond)2参

  • java.time.OffsetTime withOffsetSameLocal()方法

    java time OffsetTime withOffsetSameLocal(ZoneOffsetoffset)方法返回具有指定偏移量的此OffsetTime的副本,以确保结果具有相同的本地时间

  • java.time.OffsetTime withOffsetSameInstant()方法

    java time OffsetTime withOffsetSameInstant(ZoneOffsetoffset)方法返回具有指定偏移量的此OffsetTime的副本,确保结果在隐含日期的同一时

  • java.time.OffsetTime withNano()方法

    java time OffsetTime withNano(intnanoOfSecond)方法返回此OffsetTime的副本,并更改了纳秒。1语法publicOffsetTimewithNano(intnanoOfSec

  • java.time.OffsetTime withMinute()方法

    java time OffsetTime withMinute(intminute)方法返回此OffsetTime的副本,并更改了分钟。1语法publicOffsetTimewithMinute(intminute)2参

  • java.time.OffsetTime withHour()方法

    java time OffsetTime withHour(inthour)方法返回此OffsetTime的副本,其中包含每日时数的更改。1语法publicOffsetTimewithHour(inthour)2

  • java.time.OffsetTime with()方法

    java time OffsetTime with(TemporalFieldfield,longnewValue)方法返回此次的副本,并将指定的字段设置为新值。1语法publicOffsetTimewith(

  • java.time.OffsetTime with()方法

    java time OffsetTime with(TemporalAdjusteradjuster)方法返回此次调整后的副本。1语法publicOffsetTimewith(TemporalAdjusteradjuster)2

  • java.time.OffsetTime until()方法

    java time OffsetTime until(TemporalendExclusive,TemporalUnitunit)方法根据指定的单位计算到另一个时间的时间量。1语法publiclonguntil