W3cubDocs

/Haxe C#

DateTimeFormatInfo

package cs.system.globalization

implements ICloneable, IFormatProvider

@:final@:libType@:csNative@:native("System.Globalization.DateTimeFormatInfo") Available on cs

Constructor

@:final @:overload new ()

Variables

AMDesignator:String

AbbreviatedDayNames:NativeArray<String>

AbbreviatedMonthGenitiveNames:NativeArray<String>

AbbreviatedMonthNames:NativeArray<String>

Calendar:Calendar

CalendarWeekRule:CalendarWeekRule

DateSeparator:String

DayNames:NativeArray<String>

FirstDayOfWeek:DayOfWeek

FullDateTimePattern:String

read only IsReadOnly:Bool

LongDatePattern:String

LongTimePattern:String

MonthDayPattern:String

MonthGenitiveNames:NativeArray<String>

MonthNames:NativeArray<String>

read only NativeCalendarName:String

PMDesignator:String

read only RFC1123Pattern:String

ShortDatePattern:String

ShortTimePattern:String

ShortestDayNames:NativeArray<String>

read only SortableDateTimePattern:String

TimeSeparator:String

read only UniversalSortableDateTimePattern:String

YearMonthPattern:String

Methods

@:final @:overload Clone ():Dynamic

@:final @:overload GetAbbreviatedDayName (dayofweek:DayOfWeek):String

@:final @:overload GetAbbreviatedEraName (era:Int):String

@:final @:overload GetAbbreviatedMonthName (month:Int):String

@:final @:overload GetAllDateTimePatterns ():NativeArray<String>

@:final @:overload GetAllDateTimePatterns (format:Char16):NativeArray<String>

@:final @:overload GetDayName (dayofweek:DayOfWeek):String

@:final @:overload GetEra (eraName:String):Int

@:final @:overload GetEraName (era:Int):String

@:final @:overload GetFormat (formatType:Type):Dynamic

@:final @:overload GetMonthName (month:Int):String

@:final @:overload GetShortestDayName (dayOfWeek:DayOfWeek):String

@:final @:overload SetAllDateTimePatterns (patterns:NativeArray<String>, format:Char16):Void

Static variables

static read only CurrentInfo:DateTimeFormatInfo

static read only InvariantInfo:DateTimeFormatInfo

Static methods

@:final @:overload static GetInstance (provider:IFormatProvider):DateTimeFormatInfo

@:final @:overload static ReadOnly (dtfi:DateTimeFormatInfo):DateTimeFormatInfo

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/globalization/DateTimeFormatInfo.html