dateFormatStyle
TypeScriptget dateFormatStyle(): _Foundation_Date_FormatStyleSwift declarationvar dateFormatStyle: Date.FormatStyle { get set }The date format style.
struct · iOS 15.0+ · SDK 27.1
struct FormattingOptionsA set of parameters that indicate how to present the contents of data frame or column types to a printable string.
get dateFormatStyle(): _Foundation_Date_FormatStyleSwift declarationvar dateFormatStyle: Date.FormatStyle { get set }The date format style.
set dateFormatStyle(value: _Foundation_Date_FormatStyle)Swift declarationvar dateFormatStyle: Date.FormatStyle { get set }The date format style.
get maximumRowCount(): numberSwift declarationvar maximumRowCount: IntThe largest number of rows a description can generate.
set maximumRowCount(value: number)Swift declarationvar maximumRowCount: IntThe largest number of rows a description can generate.
get maximumCellWidth(): numberSwift declarationvar maximumCellWidth: IntThe largest number of characters a description can generate per cell.
set maximumCellWidth(value: number)Swift declarationvar maximumCellWidth: IntThe largest number of characters a description can generate per cell.
static initMaximumLineWidthMaximumCellWidthMaximumRowCountIncludesColumnTypes(maximumLineWidth: number, maximumCellWidth?: number, maximumRowCount?: number, includesColumnTypes?: boolean): FormattingOptionsSwift declarationinit(maximumLineWidth: Int, maximumCellWidth: Int = 50, maximumRowCount: Int = 20, includesColumnTypes: Bool = true)Creates a formatting options instance. - Parameters: - maximumLineWidth: The largest number of characters a description can generate per line. - maximumCellWidth: The largest number of characters a description can generate per cell. - maximumRowCount: The largest number of rows a description can generate. - includesColumnTypes: A Boolean that indicates whether the description prints a column's type.
get maximumLineWidth(): numberSwift declarationvar maximumLineWidth: IntThe largest number of characters a description can generate per line.
set maximumLineWidth(value: number)Swift declarationvar maximumLineWidth: IntThe largest number of characters a description can generate per line.
get includesRowIndices(): booleanSwift declarationvar includesRowIndices: BoolA Boolean value that indicates whether the description includes the row indices.
set includesRowIndices(value: boolean)Swift declarationvar includesRowIndices: BoolA Boolean value that indicates whether the description includes the row indices.
get integerFormatStyle(): _Foundation_IntegerFormatStyle<number>Swift declarationvar integerFormatStyle: IntegerFormatStyle<Int> { get set }The integer format style.
set integerFormatStyle(value: _Foundation_IntegerFormatStyle<number>)Swift declarationvar integerFormatStyle: IntegerFormatStyle<Int> { get set }The integer format style.
get includesColumnTypes(): booleanSwift declarationvar includesColumnTypes: BoolA Boolean value that indicates whether the description includes the column types.
set includesColumnTypes(value: boolean)Swift declarationvar includesColumnTypes: BoolA Boolean value that indicates whether the description includes the column types.
get floatingPointFormatStyle(): _Foundation_FloatingPointFormatStyle<number>Swift declarationvar floatingPointFormatStyle: FloatingPointFormatStyle<Double> { get set }The floating point format style.
set floatingPointFormatStyle(value: _Foundation_FloatingPointFormatStyle<number>)Swift declarationvar floatingPointFormatStyle: FloatingPointFormatStyle<Double> { get set }The floating point format style.
get includesRowAndColumnCounts(): booleanSwift declarationvar includesRowAndColumnCounts: BoolA Boolean value that indicates whether the description includes the number of rows and columns.
set includesRowAndColumnCounts(value: boolean)Swift declarationvar includesRowAndColumnCounts: BoolA Boolean value that indicates whether the description includes the number of rows and columns.
get locale(): _Foundation_LocaleSwift declarationvar locale: Locale { get set }The locale.
set locale(value: _Foundation_Locale)Swift declarationvar locale: Locale { get set }The locale.
static initLocale(locale: _Foundation_Locale): FormattingOptionsSwift declarationinit(locale: Locale)Creates a formatting options instance with a locale.
static init(): FormattingOptionsSwift declarationinit()Creates a formatting options instance with default parameters.
No declarations were skipped in this snapshot.