org.glassfish.jersey.examples.helloworld.spring
Class DateTimeService
java.lang.Object
org.glassfish.jersey.examples.helloworld.spring.DateTimeService
public class DateTimeService
- extends Object
Simple date service that provides actual time and date info.
- Author:
- Marko Asplund (marko.asplund at yahoo.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeService
public DateTimeService()
getDateTime
public Date getDateTime()
- Get current date and time.
- Returns:
- current date.
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.