All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.pbx.util.LogTime Maven / Gradle / Ivy

There is a newer version: 3.41.0
Show newest version
/*
 * Created on 2/03/2005
 *
 */
package org.asteriskjava.pbx.util;

/**
 * @author work shop
 */
public class LogTime
{
    private final Long dStartTime = System.currentTimeMillis();

    /**
     * @return time taken from construction until now in milliseconds
     */
    public long timeTaken()
    {
        return System.currentTimeMillis() - this.dStartTime;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy