Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    1,127

    Re: I need help defining a class.

    Looks like it. Write a small test program and try it out.
  2. Replies
    6
    Views
    1,127

    Re: I need help defining a class.

    You don't need this.TimeRange. I was just using that convention to indicate the current instance of the TimeRange object invoking the overlaps() method, opposed to the TimeRange object passed in the...
  3. Replies
    6
    Views
    1,127

    Re: I need help defining a class.

    The easiest way, in my opinion, would be to utilize the contains(Time) method which you have already created.
    Consider the fact that this.TimeRange would contain otherTime if any of these conditions...
Results 1 to 3 of 3