Writing custom rule that checks commit date

We are creating a Sonar custom rule where we need to check code commit date (the repo is on SVN) . Is there any in built method available ? or how can we achieve this . We need the SVN commit information while scanning the files for the custom rule