bitflags · System
DateTimeStyles
public bitflags System.DateTimeStyles
How Parse reads a date. A date with a time zone (Z, GMT, +02:00) becomes local time, unless AdjustToUniversal makes it UTC or RoundtripKind keeps a Z as UTC; a date without one is Unspecified, unless AssumeLocal or AssumeUniversal say which it is.
- Kind
- bitflags
- Namespace
- System
- Assembly
- System.Core
- Access
- public
- Source file
Time.ant
Values
static enumvalue None: System.DateTimeStyles
#
static enumvalue AdjustToUniversal: System.DateTimeStyles
#
static enumvalue AssumeLocal: System.DateTimeStyles
#
static enumvalue AssumeUniversal: System.DateTimeStyles
#
static enumvalue RoundtripKind: System.DateTimeStyles
#
Methods
method ToString() -> System.String<u8>
#
Extension methods
Whether every bit of x is set ((flags & x) == x).
Whether any bit of x is set.
static method With(flags: T, x: T) -> T
#
The flags with the bits of x set.
static method Without(flags: T, x: T) -> T
#
The flags with the bits of x cleared.
static method Toggle(flags: T, x: T) -> T
#
The flags with the bits of x flipped.
Source
DateTimeStyles as Larva HIR, decompiled from its Larva HIR.
// How Parse reads a date. A date with a time zone (Z, GMT, +02:00) becomes local time, unless AdjustToUniversal
// makes it UTC or RoundtripKind keeps a Z as UTC; a date without one is Unspecified, unless AssumeLocal or
// AssumeUniversal say which it is.
public bitflags System.DateTimeStyles
{
static enumvalue None: System.DateTimeStyles
static enumvalue AdjustToUniversal: System.DateTimeStyles
static enumvalue AssumeLocal: System.DateTimeStyles
static enumvalue AssumeUniversal: System.DateTimeStyles
static enumvalue RoundtripKind: System.DateTimeStyles
method ToString() -> System.String<u8>
}