Пример #1
0
 private static double _call(PageContext pc, DateTime date, TimeZone tz) {
   return DateTimeUtil.getInstance().getDayOfWeek(Locale.US, tz, date);
 }
Пример #2
0
 @Override
 public boolean castToBooleanValue() throws ExpressionException {
   return DateTimeUtil.getInstance().toBooleanValue(this);
 }
Пример #3
0
 @Override
 public double toDoubleValue() {
   return DateTimeUtil.getInstance().toDoubleValue(this);
 }
Пример #4
0
 public String castToString(TimeZone tz) { // MUST move to DateTimeUtil
   return DateTimeUtil.getInstance().toString(this, tz);
 }