Is there a way to get the Alarm Application
source code for customizing the existing default source code availble in Android 2.3
.
You can download the app from the Android github mirror.
https://github.com/android/platform_packages_apps_alarmclock
Or on the cyanogen mirror
https://github.com/CyanogenMod/android_packages_apps_DeskClock
And because, you are a nice guy, you are wondering: What is the license of that code?
Glad you asked, because according to the Android documentation and cyanogen's wikipedia page, it's the Apache Software License 2.0
And as we all know, the Apache license 2.0 is a nice license for the all hackers. Even those who intend to make a buck or two. (you little capitalist scoundrels)
Please note that, I didn't come up with that nice cheat sheet. Someone else did.