Here you can find the source of timeToRad(int time)
public static double timeToRad(int time)
//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 }