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

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