Schedule Do Not Disturb settings on Galaxy programmatically?

I’m developing an android app for galaxy where I’m trying to activate Do Not Disturb (DND) settings. I can enable/disable DND from my app, with or without Exceptions (E.g. allowing calls from contacts, messages from favourites). I used NotificationManager API of Android. It worked fine, the settings were reflected on my galaxy’s DND settings too.

But I can’t find an API to schedule Do not Disturb on galaxy, like shown in below picture:

I want to schedule DND from my app such that that it is reflected in this settings page- users will navigate to DND settings on their galaxy and can see the scheduling in effect. How to do this programatically from my app?

Thanks in advance.