Ejemplo n.º 1
0
 public string updateDvdRelease(DvdRelease newDvdRelease, 
                         string subscriptionListName)
 {
     return "Hello " + this.getSubscriberName() +
                   ", subscriber to the " +
                     subscriptionListName +
                   " DVD release list.\n" +
      "The following DVDs release has been revised: " +
      newDvdRelease.getDvdName() + " will be released on " +
      newDvdRelease.getDvdReleaseMonth() + "/" +
      newDvdRelease.getDvdReleaseDay() + "/" +
      newDvdRelease.getDvdReleaseYear() + ".";
 }
Ejemplo n.º 2
0
 public string updateDvdRelease(DvdRelease newDvdRelease,
                                string subscriptionListName)
 {
     return("Hello " + this.getSubscriberName() +
            ", subscriber to the " +
            subscriptionListName +
            " DVD release list.\n" +
            "The following DVDs release has been revised: " +
            newDvdRelease.getDvdName() + " will be released on " +
            newDvdRelease.getDvdReleaseMonth() + "/" +
            newDvdRelease.getDvdReleaseDay() + "/" +
            newDvdRelease.getDvdReleaseYear() + ".");
 }
Ejemplo n.º 3
0
 public string newDvdRelease(DvdRelease newDvdRelease, 
                      string subscriptionListName)
 {
     return "Hello " + this.getSubscriberName() +
                   ", subscriber to the " +
                      subscriptionListName +
                   " DVD release list.\n" +
     "The new Dvd " +
                     newDvdRelease.getDvdName() +
                   " will be released on " +
                     newDvdRelease.getDvdReleaseMonth() + "/" +
                     newDvdRelease.getDvdReleaseDay() + "/" +
                     newDvdRelease.getDvdReleaseYear() + ".";
 }
Ejemplo n.º 4
0
 public string newDvdRelease(DvdRelease newDvdRelease,
                             string subscriptionListName)
 {
     return("Hello " + this.getSubscriberName() +
            ", subscriber to the " +
            subscriptionListName +
            " DVD release list.\n" +
            "The new Dvd " +
            newDvdRelease.getDvdName() +
            " will be released on " +
            newDvdRelease.getDvdReleaseMonth() + "/" +
            newDvdRelease.getDvdReleaseDay() + "/" +
            newDvdRelease.getDvdReleaseYear() + ".");
 }