How to change the Resource base calender to 24 hours (C# .NET)

Hi Team,

How to set the base calendar to 24 hours for all the rows in Resource sheet view. The below line of code is not working ,Is any other way for doing this.

resource.Set(Rsc.Calendar, Calendar.Make24HourCalendar())

Please find the attachment.Resource calender.zip (59.8 KB)

@ravikonnur,

I have observed the requirements. Can you please try using following statement on your end for setting calendar on project.

        project.Set(Prj.Calendar, Aspose.Tasks.Calendar.Make24HourCalendar(project.Calendars.Add("24 Hour")));

Then apply similar for Resource as well.