Here you can find the source of secondsFromBeginningOfBoardcastEpoch()
public static int secondsFromBeginningOfBoardcastEpoch()
//package com.java2s; public class Main { public static final long BEGINNING_OF_BOARDCAST_TIME = 1319231131793L; public static int secondsFromBeginningOfBoardcastEpoch() { return (int) ((System.currentTimeMillis() - BEGINNING_OF_BOARDCAST_TIME) / 1000); }//from w w w. j a va2 s . c o m }