Uses of Class
org.beangle.commons.lang.time.WeekTime
-
Packages that use WeekTime Package Description org.beangle.commons.lang.time org.openurp.edu.base.model org.openurp.edu.course.model -
-
Uses of WeekTime in org.beangle.commons.lang.time
Methods in org.beangle.commons.lang.time that return WeekTime Modifier and Type Method Description static WeekTimeWeekTime. of(Date date)Methods in org.beangle.commons.lang.time that return types with arguments of type WeekTime Modifier and Type Method Description static List<WeekTime>WeekTimes. mergeTimes(List<WeekTime> tobeMerged)合并相邻或者重叠的时间段
前提条件是待合并的Methods in org.beangle.commons.lang.time with parameters of type WeekTime Modifier and Type Method Description static booleanWeekTimes. canMergerWith(WeekTime me, WeekTime other)判断两个时间是否可以合并
判断标准为 (weekState、weekday相等) 且 (上课节次相连 或 上课节次相交) 或者节次相等则可以合并周次intWeekTime. compareTo(WeekTime other)booleanWeekTime. isOverlap(WeekTime time)static voidWeekTimes. mergeWith(WeekTime me, WeekTime other)77777 将两上课时间进行合并,前提是这两上课时间可以合并Method parameters in org.beangle.commons.lang.time with type arguments of type WeekTime Modifier and Type Method Description static List<WeekTime>WeekTimes. mergeTimes(List<WeekTime> tobeMerged)合并相邻或者重叠的时间段
前提条件是待合并的Constructors in org.beangle.commons.lang.time with parameters of type WeekTime Constructor Description WeekTime(WeekTime other) -
Uses of WeekTime in org.openurp.edu.base.model
Methods in org.openurp.edu.base.model that return WeekTime Modifier and Type Method Description static WeekTimeWeekTimeBuilder. normalize(WeekTime wt)static WeekTimeWeekTimeBuilder. of(int startWeek, int endWeek, NumberSequence.Pattern pattern)static WeekTimeWeekTimeBuilder. of(Date startOn, HourMinute beginAt, HourMinute endAt)构造某个日期(beginAt, endAt必须是同一天,只是时间不同)的WeekTimeMethods in org.openurp.edu.base.model that return types with arguments of type WeekTime Modifier and Type Method Description static List<WeekTime>WeekTimeBuilder. build(Date beginOn, Date endOn)List<WeekTime>WeekTimeBuilder. build(WeekDay weekday, int[] weeks)List<WeekTime>WeekTimeBuilder. build(WeekDay weekday, Collection<Integer> weeks)List<WeekTime>WeekTimeBuilder. buildOnOldWeekStr(WeekDay weekday, String weekstr)Methods in org.openurp.edu.base.model with parameters of type WeekTime Modifier and Type Method Description static StringWeekTimeBuilder. digestWeekTime(WeekTime time, Semester semester)这个方法都是在ftl里使用的static booleanWeekTimeBuilder. needNormalize(WeekTime wt)static WeekTimeWeekTimeBuilder. normalize(WeekTime wt) -
Uses of WeekTime in org.openurp.edu.course.model
Fields in org.openurp.edu.course.model declared as WeekTime Modifier and Type Field Description protected WeekTimeSession. time上课时间Methods in org.openurp.edu.course.model that return WeekTime Modifier and Type Method Description WeekTimeSession. getTime()Methods in org.openurp.edu.course.model with parameters of type WeekTime Modifier and Type Method Description voidSession. setTime(WeekTime time)Constructors in org.openurp.edu.course.model with parameters of type WeekTime Constructor Description Session(Teacher teacher, Classroom room, WeekTime time)
-