UmAlQuraCalendar return value

590 views Asked by At

I am writing a class that deal with UmAlQuraCalendar . one of the functions take Georgian date and convert it to umalqura. i can do that but the System.DateTime class can't hold UmAlQura dates. it only hold Georgian date. so what return type should i use ?

public static >>what data type should go here<< ConvertGeorgianToUmalqura(DateTime gDate)
    {
        // code to convert geogrian to Umalqura goes here

    }

what i did is that i made my own class to hold the result :

public class UmalquraDateTime
{
   //class code goes here
}

is making my own class to make umalqura date as return type is correct ?. is there any .NET type that allow me to pass Umalqura date between methods /classes ?

c# in winforms desktop application.

1

There are 1 answers

0
Carl Prothman On