package it.near.sdk.utils;

public class CurrentTime {

    public Long currentTimestamp() {
        return System.currentTimeMillis();
    }

    public Long currentTimeStampSeconds() {
        return System.currentTimeMillis() / 1000;
    }
}

@@ -25,121 +25,62 @@
 s;%0A%0A
-public class CurrentTime %7B%0A%0A    public Long currentTimestamp() %7B%0A        return System.currentTimeMillis();%0A    %7D
+import java.util.Calendar;%0A%0Apublic class CurrentTime %7B
 %0A%0A  
@@ -176,11 +176,84 @@
 0;%0A    %7D
+%0A%0A    public Calendar currentCalendar() %7B return Calendar.getInstance();%7D
 %0A%7D%0A

return current calendar from current time provider object