Hi I have a RelativeDateItem.
I can get the value with relativeDateItem.getRelativeDate().getValue() which says what option is selected. I.e Today/yesterda/Current day of last month/N days ago with offset etc.
However, how can I set the value of the relativeDateItem such that it shows the specific drop down values like yesterday or N days ago with offset and not the actual date. Is there anything like relativeDateItem.setRelativeDate() etc?
I can get the value with relativeDateItem.getRelativeDate().getValue() which says what option is selected. I.e Today/yesterda/Current day of last month/N days ago with offset etc.
However, how can I set the value of the relativeDateItem such that it shows the specific drop down values like yesterday or N days ago with offset and not the actual date. Is there anything like relativeDateItem.setRelativeDate() etc?
Comment