CalDavSynchronizer.ThoughtvCardWorkaround.ContactDataPreprocessor.FixRevisionDate C# (CSharp) Метод

FixRevisionDate() публичный статический Метод

public static FixRevisionDate ( string vcardData ) : string
vcardData string
Результат string
    public static string FixRevisionDate (string vcardData)
    {
      // Reformat REV attribute to use Z for UTC if not set (fixes Owncloud)
      var revMatch = Regex.Match (vcardData, "REV:(.*?)\\+00:00\r?\n");
      if (revMatch.Success)
      {
        return Regex.Replace (vcardData, "REV:(.*?)\\+00:00\r?\n", "REV:" + revMatch.Groups[1].Value + "Z\r\n");
      }
      else
      {
        return vcardData;
      }
    }
    public static string FixUrlType (string vcardData)