157N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
157N/A NSString *shortTimeFormat = [NSDateFormatter dateFormatFromTemplate:@"HHmm" options:0 locale:locale];
0N/A // Although iOS will give day of the week in the correct language for the device's locale/language settings
0N/A // we should instead perform explicit translation ourselves. This ensures that the app's localizable strings
0N/A // are fully translated or not translated at all - It would seem odd to only show day of the week in the
0N/A NSString *shortDateFormat = [NSDateFormatter dateFormatFromTemplate:@"ddMMyyyy" options:0 locale:locale];
NSCalendarUnit preservedComponents = (NSCalendarUnitYear | NSCalendarUnitMonth | NSCalendarUnitDay);
@end