package org.fundacionjala.automation.framework.utils.common;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;

public class RMGenerator {
    public static String getIsoTime(int nextHoursFromCurrentTime) {
	Calendar calendar = Calendar.getInstance();
	calendar.add(Calendar.HOUR, nextHoursFromCurrentTime + 4);
	SimpleDateFormat time = new SimpleDateFormat(
		"yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US);
	return time.format(calendar.getTime());
    }
}

@@ -170,16 +170,18 @@
 rator %7B%0A
+%09%0A
     publ
@@ -481,10 +481,322 @@
 ;%0A    %7D%0A
+    %0A    public static String getTime(int nextHoursFromCurrentTime) %7B%0A    %09Calendar calendar = Calendar.getInstance();%0A    %09calendar.add(Calendar.HOUR, nextHoursFromCurrentTime + 4);%0A    %09SimpleDateFormat time = new SimpleDateFormat(%0A    %09%09%22HH:mm:ss.SSS%22);%0A    %09return time.format(calendar.getTime());%0A        %7D%0A
 %7D%0A

Fix Framework: RMGenerator