1
/***************************************
3
* JBoss: The OpenSource J2EE WebOS *
5
* Distributable under LGPL license. *
6
* See terms of license at gnu.org. *
8
***************************************/
9
package org.jboss.test.remoting.transporter.proxy.local;
11
import java.text.DateFormat;
12
import java.util.Date;
15
* @author <a href="mailto:tom@jboss.org">Tom Elrod</a>
17
public class DateProcessorImpl
19
public static boolean formatDateCalled = false;
21
public String formatDate(Date dateToConvert)
23
DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.MEDIUM);
24
System.out.println("Sending back to caller formated date of " + dateFormat);
25
formatDateCalled = true;
26
return dateFormat.format(dateToConvert);
b'\\ No newline at end of file'