getWeekStartTime

fun getWeekStartTime(calendar: Calendar = Calendar.getInstance(), yearFormat: String = FORMAT_YYYY_MM_DD_HH_MM_SS): String

Get the start timestamp of the week. SUNDAY is the first day of the week.

Return

WeekStartTime parsed in yearFormat format.

Since

0.0.1

Parameters

calendar

Calendar Object object.

yearFormat

the pattern describing the year format.