private string MapStatus1To2(OlTaskStatus value)
        {
            switch (value)
            {
            case OlTaskStatus.olTaskComplete:
                return("completed");

            case OlTaskStatus.olTaskDeferred:
            case OlTaskStatus.olTaskInProgress:
            case OlTaskStatus.olTaskWaiting:
            case OlTaskStatus.olTaskNotStarted:
                return("needsAction");
            }
            throw new NotImplementedException(string.Format("Mapping for value '{0}' not implemented.", value));
        }
        private string MapStatus1To2(OlTaskStatus value)
        {
            switch (value)
            {
            case OlTaskStatus.olTaskDeferred:
                return("CANCELLED");

            case OlTaskStatus.olTaskComplete:
                return("COMPLETED");

            case OlTaskStatus.olTaskInProgress:
                return("IN-PROCESS");

            case OlTaskStatus.olTaskWaiting:
            case OlTaskStatus.olTaskNotStarted:
                return("NEEDS-ACTION");
            }

            throw new NotImplementedException(string.Format("Mapping for value '{0}' not implemented.", value));
        }