private void correctTimestampValues()
    {
        long duration = 8000000000L;
        
        try
        {
            if (readingsAccelerometer != null)
            {
                int numberSamples = readingsAccelerometer.size();
                long delta = duration / numberSamples;
                for (int i = 0; i < readingsAccelerometer.size(); i++)
                {
                    readingsAccelerometer.get(i).setTime(
                            readingsAccelerometer.get(0).getTimestamp() 
                                    + i * delta);
                }
            }

            if (readingsLinear != null)
            {
                int numberSamples = readingsLinear.size();
                long delta = duration / numberSamples;
                for (int i = 0; i < readingsLinear.size(); i++)
                {
                    readingsLinear.get(i).setTime(
                            readingsLinear.get(0).getTimestamp() + 
                                    i * delta);
                }
            }
        }
        catch(Exception exc)
        {
            exc.printStackTrace();
        }
        
    }