}
};
MksVcs.invokeOnEventDispatchThreadAndWait(runnable);
String pattern = patternHolder[0];
if (pattern != null) {
final MksConfiguration configuration = ApplicationManager.getApplication().getComponent(MksConfiguration.class);
configuration.setDatePattern(pattern);
format = new SimpleDateFormat(configuration.getDatePattern());
}
return parseDate(date, false);
} else {
throw new VcsException(