Skip to content

Commit

Permalink
Adding javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Dec 10, 2024
1 parent 75673fa commit 6001bf2
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@
import java.util.Locale;
import java.util.TimeZone;

/**
* This is a utility class.
*/
public class TimeUtils {

/**
* Generate a timestamp in the <code>yyyyMMdd'T'HHmmss.SSS'Z'</code> format.
* @return A timestamp in the <code>yyyyMMdd'T'HHmmss.SSS'Z'</code> format.
*/
public static String getTimestamp() {

final SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd'T'HHmmss.SSS'Z'", Locale.getDefault());
Expand Down

0 comments on commit 6001bf2

Please sign in to comment.