KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > jivan > test > business > DaterImpl


1 /*
2  * JivanExample
3  *
4  * Enhydra super-servlet business object
5  *
6  */

7
8 package org.enhydra.jivan.test.business;
9
10 // Enhydra SuperServlet specification imports
11
import org.enhydra.jivan.test.spec.Dater;
12
13 // Standard imports
14
import java.util.Date JavaDoc;
15 import java.text.DateFormat JavaDoc;
16
17 public class DaterImpl implements Dater {
18
19     public String JavaDoc getDate(){
20           return DateFormat.getTimeInstance(DateFormat.MEDIUM).format(new Date JavaDoc());
21     }
22     
23 }
24
Popular Tags