01: /*
02: * JivanExample
03: *
04: * Enhydra super-servlet business object
05: *
06: */
07:
08: package org.enhydra.jivan.test.business;
09:
10: // Enhydra SuperServlet specification imports
11: import org.enhydra.jivan.test.spec.Dater;
12:
13: // Standard imports
14: import java.util.Date;
15: import java.text.DateFormat;
16:
17: public class DaterImpl implements Dater {
18:
19: public String getDate() {
20: return DateFormat.getTimeInstance(DateFormat.MEDIUM).format(
21: new Date());
22: }
23:
24: }
|