class DateTimeFunctions {

    @ScalarFunction("from_unixtime")
    @SqlType("timestamp(3)")
    public static long fromUnixTime(@SqlType(StandardTypes.DOUBLE) double unixTime)
    {
        return Math.round(unixTime * MICROSECONDS_PER_SECOND);
    }

    private  DateTimeFunctions();

}