ENGLISH_ABBREVIATED

Shortened English names of weekdays from 'Mon' to 'Sun'.

Samples

import kotlinx.datetime.*
import kotlinx.datetime.format.*
import kotlin.test.*

fun main() { 
   //sampleStart 
   // Using the built-in English abbreviated day of week names in a custom format
val format = LocalDate.Format {
    date(LocalDate.Formats.ISO)
    chars(", ")
    dayOfWeek(DayOfWeekNames.ENGLISH_ABBREVIATED)
}
check(format.format(LocalDate(2021, 1, 13)) == "2021-01-13, Wed") 
   //sampleEnd
}