function createLocalTimeTransformer ({ disableLosslessIntegers, useBigInt }) {
  return new TypeTransformer({
    signature: LOCAL_TIME,
    isTypeInstance: isLocalTime,
    toStructure: value => {
      const nanoOfDay = localTimeToNanoOfDay(
        value.hour,
        value.minute,
        value.second,
        value.nanosecond
      )

      return new structure.Structure(LOCAL_TIME, [nanoOfDay])
    },
    fromStructure: struct => {
      structure.verifyStructSize('LocalTime', LOCAL_TIME_STRUCT_SIZE, struct.size)

      const [nanoOfDay] = struct.fields
      const result = nanoOfDayToLocalTime(nanoOfDay)
      return convertIntegerPropsIfNeeded(result, disableLosslessIntegers, useBigInt)
    }
  })
}
Creates the LocalTime Transformer
@param {Object} param
@param {boolean} param.disableLosslessIntegers Disables lossless integers
@param {boolean} param.useBigInt Uses BigInt instead of number or Integer
@returns {TypeTransformer}