Skip to content

Instantly share code, notes, and snippets.

Created November 21, 2011 10:18
Show Gist options
  • Save anonymous/1382228 to your computer and use it in GitHub Desktop.
Save anonymous/1382228 to your computer and use it in GitHub Desktop.
// First
if (((startTimeInSeconds >= lyricStartTimeInSeconds && startTimeInSeconds <= lyricEndTimeInSeconds) || (endTimeInSeconds <= lyricStartTimeInSeconds && endTimeInSeconds <= lyricEndTimeInSeconds))||((lyricStartTimeInSeconds >= startTimeInSeconds && lyricStartTimeInSeconds <= endTimeInSeconds) || (lyricEndTimeInSeconds >= startTimeInSeconds && lyricEndTimeInSeconds <= endTimeInSeconds)))
// Second
if (((startTimeInSeconds >= lyricStartTimeInSeconds && startTimeInSeconds <= lyricEndTimeInSeconds) || (endTimeInSeconds >= lyricStartTimeInSeconds && endTimeInSeconds <= lyricEndTimeInSeconds))||((lyricStartTimeInSeconds >= startTimeInSeconds && lyricStartTimeInSeconds <= endTimeInSeconds) || (lyricEndTimeInSeconds >= startTimeInSeconds && lyricEndTimeInSeconds <= endTimeInSeconds)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment