NumberToDateUtils extension

NumberToDateUtils

on

Properties

isCurrentDay bool

Available on num, provided by the NumberToDateUtils extension

Checks if the number (assumed to represent a day, 1-based) corresponds to the current day of the month.
no setter
isCurrentDayOfWeek bool

Available on num, provided by the NumberToDateUtils extension

Checks if the number (assumed to represent a day of the week, 1-based) corresponds to the current day of the week.
no setter
isCurrentMonth bool

Available on num, provided by the NumberToDateUtils extension

Checks if the number (assumed to represent a month, 1-based) corresponds to the current month.
no setter
isCurrentYear bool

Available on num, provided by the NumberToDateUtils extension

Checks if the number (assumed to represent a year) corresponds to the current year.
no setter
toFullDayName String

Available on num, provided by the NumberToDateUtils extension

Gets the full day name (e.g., "Monday") corresponding to this number (1-7).
no setter
toFullMonthName String

Available on num, provided by the NumberToDateUtils extension

Gets the full month name (e.g., "January") corresponding to this number (1-12).
no setter
toSmallDayName String

Available on num, provided by the NumberToDateUtils extension

Gets the short day name (e.g., "Mon") corresponding to this number (1-7).
no setter
toSmallMonthName String

Available on num, provided by the NumberToDateUtils extension

Gets the short month name (e.g., "Jan") corresponding to this number (1-12).
no setter

Methods

isBetweenMonths(int startMonth, int endMonth) bool

Available on num, provided by the NumberToDateUtils extension

Converts a numeric timestamp (in milliseconds since epoch) to a DateTime object.