Turn the bools in duration-data.h into a bitfield