Here you can find the source of fractionOfDayToMilliseconds(float fFractionOfDay)
public static long fractionOfDayToMilliseconds(float fFractionOfDay)
//package com.java2s; public class Main { /**/*from ww w .ja v a2 s. c o m*/ * Convert a duration that is based on fraction-of-a-day to milliseconds. */ public static long fractionOfDayToMilliseconds(float fFractionOfDay) { // convert from fraction of day to milliseconds float fDuration = (fFractionOfDay * 24 * 60 * 60 * 1000); return (long) fDuration; } }