Programming Tips - Android: How can I list the pending AlarmManager alarms?

Date: 2016aug23 OS: Android Q. Android: How can I list the pending AlarmManager alarms? A. On the command line:
adb shell dumpsys alarm
On Windows, if adb isn't in your path do this first:
cd c:\android_sdk\platform-tools
Where c:\android_sdk is the location of your SDK