Lines Matching refs:firstJulianDay
847 public static HashMap<Integer, DNAStrand> createDNAStrands(int firstJulianDay, in createDNAStrands() argument
889 int lastJulianDay = firstJulianDay + dayXs.length - 1; in createDNAStrands()
895 if (currEvent.endDay < firstJulianDay || currEvent.startDay > lastJulianDay) { in createDNAStrands()
899 addAllDayToStrands(currEvent, strands, firstJulianDay, dayXs.length); in createDNAStrands()
904 if (event.startDay < firstJulianDay) { in createDNAStrands()
905 event.startDay = firstJulianDay; in createDNAStrands()
948 addNewSegment(segments, event, strands, firstJulianDay, 0, minMinutes); in createDNAStrands()
954 int startMinute = (event.startDay - firstJulianDay) * DAY_IN_MINUTES + event.startTime; in createDNAStrands()
955 int endMinute = Math.max((event.endDay - firstJulianDay) * DAY_IN_MINUTES in createDNAStrands()
1056 addNewSegment(segments, event, strands, firstJulianDay, lastSegment.endMinute, in createDNAStrands()
1060 weaveDNAStrands(segments, firstJulianDay, strands, top, bottom, dayXs); in createDNAStrands()
1066 int firstJulianDay, int numDays) { in addAllDayToStrands() argument
1074 int end = Math.min(event.endDay - firstJulianDay, numDays - 1); in addAllDayToStrands()
1075 for (int i = Math.max(event.startDay - firstJulianDay, 0); i <= end; i++) { in addAllDayToStrands()
1088 private static void weaveDNAStrands(LinkedList<DNASegment> segments, int firstJulianDay, in weaveDNAStrands() argument
1105 int dayIndex = segment.day - firstJulianDay; in weaveDNAStrands()
1153 HashMap<Integer, DNAStrand> strands, int firstJulianDay, int minStart, int minMinutes) { in addNewSegment() argument
1168 addNewSegment(segments, lhs, strands, firstJulianDay, minStart, minMinutes); in addNewSegment()
1182 int dayOffset = (event.startDay - firstJulianDay) * DAY_IN_MINUTES; in addNewSegment()