Java Time Convert to timeToRad(int time)

Here you can find the source of timeToRad(int time)

Description

time To Rad

License

Open Source License

Declaration

public static double timeToRad(int time) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static final double TIME_CONV_CONST = 14350.0;

    public static double timeToRad(int time) {
        return ((double) (time + 1350) / TIME_CONV_CONST) * Math.PI;
    }//from w w w . j a  v  a2 s .  c o m
}

Related

  1. timeToIndex(String twentyFourHourTime)
  2. timeToInt(final String time)
  3. timeToJgo(long milliSeconds)
  4. timeToLong(String inputStr)
  5. timeToMs(int day, int hour, int min, int sec)
  6. timeToTick(float time, float speed)
  7. timeToTicks(Long time)
  8. timeToTimestamp(long currentTimeMsecs)