Driveshaft length

Is the length measured from the center of the u-joints at each end?