Talk:Term of patent in the United States

From Wikipedia, the free encyclopedia

IF PUBLICATION-DATE < '1978-06-08' BEGIN

 RETURN PUBLICATION-DATE + 17

END ELSE BEGIN

 SET FILE-DATE    = MIN( 371-DATE, FILE-DATE )
 SET RELATED-DATE = MIN( CALL GET-MIN-FILE-DATE-FROM-ALL-RELATED-APPS-EXCLUDING-PROVISIONALS(), FILE-DATE )
 
 IF FILE-DATE > '1995-06-08' BEGIN
   RETURN RELATED-DATE + 20
 END
 ELSE BEGIN
   DATE1 = PUBLICATION-DATE + 17
   DATE2 = RELATED-DATE + 20
   RETURN MAX( DATE1, DATE2 )
 END

END