Use Shim::jdtounix() instead of jdtounix(), type-hint object parameters, consistent variable names, PHPDoc
Use constants instead of literals