getWeekOfMonth

open fun getWeekOfMonth(time: String): Int

Return the number for indicating the week number within the current month.

The pattern is {@code yyyy-MM-dd HH:mm:ss}.

Return

the number for indicating the week number within the current month

Parameters

time

The formatted time string.

open fun getWeekOfMonth(time: String, format: DateFormat): Int

Return the number for indicating the week number within the current month.

Return

the number for indicating the week number within the current month

Parameters

time

The formatted time string.

format

The format.

open fun getWeekOfMonth(date: Date): Int

Return the number for indicating the week number within the current month.

Return

the number for indicating the week number within the current month

Parameters

date

The date.

open fun getWeekOfMonth(millis: Long): Int

Return the number for indicating the week number within the current month.

Return

the number for indicating the week number within the current month

Parameters

millis

The milliseconds.