Changing date to Hijri Date on entire system


In order to use SuiteCRM in Persian language, along with translation and RTL direction, we need Hijri date. Translation and RTL are being done But the date is a dilemma.

There is a PHP class which is used mostly in PHP-based projects here:



Now I need to know how to use this class in the entire system (in an upgrade-safe way if possible)?