public double getTime(String layerName) {
        AnimLayer l = getLayer(layerName);
        double result = l.getTime();

        return result;
    }
Returns current time of the specified layer.

@param layerName The layer from which to get the time.
@return the time (in seconds)
jme3-core/src/main/java/com/jme3/anim/AnimComposer.java