Common interface for Carbon and CarbonImmutable.
Mark translator using strong type from symfony/translation >= 6.