Java Second Get getSecondInt(long time)

Here you can find the source of getSecondInt(long time)

Description

get Second Int

License

Open Source License

Declaration

public static int getSecondInt(long time) 

Method Source Code

//package com.java2s;

public class Main {
    public static int getSecondInt(long time) {
        if (time > (60)) {
            return (int) ((time % (60)));
        } else {/*from  w  ww.  j a  v  a2 s .  com*/
            return (int) (time);
        }
    }
}

Related

  1. getSecondExampleTime()
  2. getSecondField(String rowStr, char delimiter)
  3. getSecondFromHMS(String hms)
  4. getSecondFromTime(int hour, int minute, int second)
  5. getSecondInt(long c)
  6. getSecondMaxInArray(float[] arr)
  7. getSecondName(String names)
  8. getSecondRDNValue(String dn)
  9. getSecondRulePart()