Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.util.Log;

public class Main {
    public static int getTimeSecond(int value) {
        int now = value - (int) (System.currentTimeMillis() / 60000);
        Log.e("rrobbie", "time : " + value + " / " + System.currentTimeMillis());
        int result = (now * 1000);
        return result > 0 ? result : 0;
    }
}