public static String getRemainingTime(final int remainingTime) {
        final int stepResolution = remainingTime >> 6;
        final int numberOfSteps = remainingTime & 0x3F;
        switch (stepResolution) {
            case RESOLUTION_100_MS:
                return (numberOfSteps * 100) + " milliseconds";
            case RESOLUTION_1_S:
                return numberOfSteps + " seconds";
            case RESOLUTION_10_S:
                return (numberOfSteps * 10) + " seconds";
            case RESOLUTION_10_M:
                return (numberOfSteps * 10) + " minutes";
            default:
                return "Unknown";
        }
    }
Returns the remaining time as a string

@param remainingTime remaining time that for the transition to finish
@return remaining time as string.
mesh/src/main/java/no/nordicsemi/android/mesh/utils/MeshParserUtils.java