Convert a Date from Julian to Gregorian Formats in C#

Below is a sample function in C# to convert a date value in Julian format (from a JD Edwards database), to a date value in Gregorian format (for storing in an Oracle database).

/* convertJulianToGregorian
*
* This function takes in a Julian date string and returns a Gregorian string
* It is only intended to process years 1910 to 2999 (5 and 6 digit Julian dates)
*
*/
public static string convertJulianToGregorian(string julianDateString)
{
try
{
string julianYear = "";
string julianDay = "";