src/main/java/org/g_node/nix/internal/DateUtils.java
/**
     * Convert seconds to appropriate date
     * <p>
     * Required for functions that use time_t
     *
     * @param seconds seconds to be converted
     * @return date object
     */
Convert seconds to appropriate date

Required for functions that use time_t

@param seconds seconds to be converted
@return date object
Convert seconds to appropriate date Required for functions that use time_t @param seconds seconds to be converted @return date object
public static Date convertSecondsToDate(long seconds) {
        seconds *= 1000L;
        return new Date(seconds);
    }
public static Date convertSecondsToDate ( long seconds ) { seconds *= 1000L ; return new Date ( seconds ) ; }
Convert seconds to appropriate date
 <p>
 Required for functions that use time_t
Convert seconds to appropriate date <p > Required for functions that use time_t
// convert to milliseconds by multiplying by 1000 // DateTime expects input in milliseconds