Convert a Persian date to Gregorian (and a Gregorian date to Persian)

Convert a Persian (Solar Hijri, Jalali) calendar date to a Gregorian date, or the other way round, with the date in Persian, leap year and Nowruz date.