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.util.Date;
14
* @author <a href="mailto:tom@jboss.org">Tom Elrod</a>
16
public class DateConsumerImpl implements DateConsumer
18
public String consumeDate(DateProcessor dateProcessor)
20
Date currentDate = new Date();
21
String formattedDate = dateProcessor.formatDate(currentDate);
22
System.out.println("called on date processor to format date. response is " + formattedDate);
b'\\ No newline at end of file'