convertToYearMonth

fun DataColumn<DateTimeComponents>.convertToYearMonth(): DataColumn<YearMonth>

Converts values in this DateTimeComponents column to YearMonth.

For more information: See convert on the documentation website.

Return

A new DataColumn with the YearMonth values.


@JvmName(name = "convertToYearMonthNullable")
fun DataColumn<DateTimeComponents?>.convertToYearMonth(): DataColumn<YearMonth?>

Converts values in this DateTimeComponents column to YearMonth. Preserves null values.

For more information: See convert on the documentation website.

Return

A new DataColumn with the YearMonth nullable values.