ZoneOffsetTransition.DateTimeBefore 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取本地转换日期时间,如用“before”偏移量表示。
public Java.Time.LocalDateTime? DateTimeBefore { [Android.Runtime.Register("getDateTimeBefore", "()Ljava/time/LocalDateTime;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getDateTimeBefore", "()Ljava/time/LocalDateTime;", "", ApiSince=26)>]
member this.DateTimeBefore : Java.Time.LocalDateTime
属性值
用之前偏移量表示的转换日期时间,而不是 null
- 特性
注解
获取本地转换日期时间,如用“before”偏移量表示。 这是以“before”偏移量表示不连续的日期时间。 此时,实际使用“after”偏移量,因此此日期时间与“before”偏移量的组合永远不会发生。 “before”日期时间和偏移量的组合表示与“after”日期时间和偏移量相同的即时。
Java参考java.time.zone.ZoneOffsetTransition.getDateTimeBefore。