Calendar.SkippedWallTimeOption Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
<strong>[icu]</strong>Gets the behavior for handling skipped wall time at positive time zone offset transitions. -or- <strong>[icu]</strong>Sets the behavior for handling skipped wall time at positive time zone offset transitions.
public virtual Android.Icu.Util.WalltimeOptions SkippedWallTimeOption { [Android.Runtime.Register("getSkippedWallTimeOption", "()I", "GetGetSkippedWallTimeOptionHandler", ApiSince=24)] get; [Android.Runtime.Register("setSkippedWallTimeOption", "(I)V", "GetSetSkippedWallTimeOption_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getSkippedWallTimeOption", "()I", "GetGetSkippedWallTimeOptionHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setSkippedWallTimeOption", "(I)V", "GetSetSkippedWallTimeOption_IHandler", ApiSince=24)>]
member this.SkippedWallTimeOption : Android.Icu.Util.WalltimeOptions with get, set
Property Value
the behavior for handling skipped wall time, one of
WALLTIME_FIRST
, WALLTIME_LAST
and WALLTIME_NEXT_VALID
.
- Attributes
Remarks
Property getter documentation:
<strong>[icu]</strong>Gets the behavior for handling skipped wall time at positive time zone offset transitions.
Java documentation for android.icu.util.Calendar.getSkippedWallTimeOption()
.
Property setter documentation:
<strong>[icu]</strong>Sets the behavior for handling skipped wall time at positive time zone offset transitions. For example, 2:30 AM on March 13, 2011 in US Eastern time (America/New_York) does not exist because the wall time jump from 1:59 AM EST to 3:00 AM EDT. When WALLTIME_FIRST
is used, 2:30 AM is interpreted as 30 minutes before 3:00 AM EDT, therefore, it will be resolved as 1:30 AM EST. When WALLTIME_LAST
is used, 2:30 AM is interpreted as 31 minutes after 1:59 AM EST, therefore, it will be resolved as 3:30 AM EDT. When WALLTIME_NEXT_VALID
is used, 2:30 AM will be resolved as next valid wall time, that is 3:00 AM EDT. The default value is WALLTIME_LAST
.
<b>Note:</b>This option is effective only when this calendar is #isLenient() lenient
. When the calendar is strict, such non-existing wall time will cause an exception.
Java documentation for android.icu.util.Calendar.setSkippedWallTimeOption(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.