if (className.equals("com.webobjects.foundation.NSTimestamp")) {
String dateFormatterString = formatterForKey(selectedKey());
NSTimestampFormatter dateFormatter = new NSTimestampFormatter(dateFormatterString);
Object objectValue = null;
try {
objectValue = dateFormatter.parseObject((value != null) ? value.toString() : "");
} catch (ParseException e) {
if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelDetailed, NSLog.DebugGroupWebObjects)) {
NSLog.debug.appendln(e);
}
}