Created
December 8, 2013 04:20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.service; | |
import java.text.SimpleDateFormat; | |
import java.util.Date; | |
import org.springframework.stereotype.Component; | |
@Component | |
public class SomeService { | |
public void doSomeServiceWork() { | |
System.out | |
.println("Hey, hey, Heeeey, you've got this thing working. The time is: " | |
+ new SimpleDateFormat("HH:mm:ss").format(new Date())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment