ADD safe-thread implementation for DateFormat class