Note
You can opt to account for or ignore the leap year while calculating revenue from Custom Settings. Go to Setup > Build > Develop > Custom Setting and click Manage for Revenue System Properties. Click Edit for System Properties and select Ignore Leap Year For Revenue Recognition to ignore the leap year for revenue recognition.