diff --git a/opensearch-search-quality-evaluation-plugin/src/main/java/org/opensearch/eval/utils/TimeUtils.java b/opensearch-search-quality-evaluation-plugin/src/main/java/org/opensearch/eval/utils/TimeUtils.java index efcbef8..44fa899 100644 --- a/opensearch-search-quality-evaluation-plugin/src/main/java/org/opensearch/eval/utils/TimeUtils.java +++ b/opensearch-search-quality-evaluation-plugin/src/main/java/org/opensearch/eval/utils/TimeUtils.java @@ -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 yyyyMMdd'T'HHmmss.SSS'Z' format. + * @return A timestamp in the yyyyMMdd'T'HHmmss.SSS'Z' format. + */ public static String getTimestamp() { final SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd'T'HHmmss.SSS'Z'", Locale.getDefault());