import java.util.Locale
val fmt = new java.text.SimpleDateFormat("[d MMM yyyy, HH:mm''ss.SSS] 'AudioFile' ", Locale.US)
fmt.format(new java.util.Date)
This throws NotImplementedError (???). Goes away when I remove the escaped fragment 'AudioFile'.
The JDK docs are clear:
Text can be quoted using single quotes (') to avoid interpretation.