private String getDateFormat(IScriptStyle style, Date value) {
   if (style != null) {
     return style.getDateFormat();
   }
   return null;
 }
 private String getNumberFormat(IScriptStyle style) {
   if (style == null) {
     return null;
   }
   return style.getNumberFormat();
 }