Lines Matching refs:firstJulianDay
924 public static HashMap<Integer, DNAStrand> createDNAStrands(int firstJulianDay, in createDNAStrands() argument
966 int lastJulianDay = firstJulianDay + dayXs.length - 1; in createDNAStrands()
972 if (currEvent.endDay < firstJulianDay || currEvent.startDay > lastJulianDay) { in createDNAStrands()
976 addAllDayToStrands(currEvent, strands, firstJulianDay, dayXs.length); in createDNAStrands()
981 if (event.startDay < firstJulianDay) { in createDNAStrands()
982 event.startDay = firstJulianDay; in createDNAStrands()
1025 addNewSegment(segments, event, strands, firstJulianDay, 0, minMinutes); in createDNAStrands()
1031 int startMinute = (event.startDay - firstJulianDay) * DAY_IN_MINUTES + event.startTime; in createDNAStrands()
1032 int endMinute = Math.max((event.endDay - firstJulianDay) * DAY_IN_MINUTES in createDNAStrands()
1133 addNewSegment(segments, event, strands, firstJulianDay, lastSegment.endMinute, in createDNAStrands()
1137 weaveDNAStrands(segments, firstJulianDay, strands, top, bottom, dayXs); in createDNAStrands()
1143 int firstJulianDay, int numDays) { in addAllDayToStrands() argument
1151 int end = Math.min(event.endDay - firstJulianDay, numDays - 1); in addAllDayToStrands()
1152 for (int i = Math.max(event.startDay - firstJulianDay, 0); i <= end; i++) { in addAllDayToStrands()
1165 private static void weaveDNAStrands(LinkedList<DNASegment> segments, int firstJulianDay, in weaveDNAStrands() argument
1182 int dayIndex = segment.day - firstJulianDay; in weaveDNAStrands()
1230 HashMap<Integer, DNAStrand> strands, int firstJulianDay, int minStart, int minMinutes) { in addNewSegment() argument
1245 addNewSegment(segments, lhs, strands, firstJulianDay, minStart, minMinutes); in addNewSegment()
1259 int dayOffset = (event.startDay - firstJulianDay) * DAY_IN_MINUTES; in addNewSegment()