fromNameOrNull

fun fromNameOrNull(serialName: String): DayPattern?

Find the enum member by the serial name or return null.