Where in the Bitcoin Cash code is the retargetting period defined? I'm specifically looking for the difficulty retargetting period of Bitcoin Cash, but since it is a fork of Core it should be the same code.
Looks like the answer lies here for bitcoin Cash:
https://reviews.bitcoinabc.org/rABC7ad1105f43d7bff158d4b5c882ab9bf1b74d6cce   

More specifically it is here:
https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/src/pow.cpp#L73