About this question
I have the below If statements using some hard coded strings and I want to make them use as custom labels. I have created custom labels with the same String names as given below. So how can I make these statements to use the Custom Labels I created ?
if(monitoringFrequency == 'daily'){ return dateValue.addDays(1); }else if(monitoringFrequency == 'weekly'){ return dateValue.addDays(7); }else if(monitoringFrequency == 'monthly'){ return dateValue.addMonths(1);