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.

Tipo
bitflags
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public
Archivo fuente
Time.ant

Valores

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
#

Métodos

method ToString() -> System.String<u8>
#

Métodos de extensión

static method HasFlag(flags: T, x: T) -> bool
#

de System

Whether every bit of x is set ((flags & x) == x).

static method HasAny(flags: T, x: T) -> bool
#

de System

Whether any bit of x is set.

static method With(flags: T, x: T) -> T
#

de System

The flags with the bits of x set.

static method Without(flags: T, x: T) -> T
#

de System

The flags with the bits of x cleared.

static method Toggle(flags: T, x: T) -> T
#

de System

The flags with the bits of x flipped.

Código fuente

DateTimeStyles en Larva HIR, descompilado a partir de su Larva HIR.

System.DateTimeStyles.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>
}
Esc