Programming Tips - How can I see the Android alarms that are set?

Date: 2016jul18 OS: Android Q. How can I see the Android alarms that are set? A. Run this on your host machine:
adb shell dumpsys alarm