Package

com.xiaomi.duckling.dimension.time

repeat

Permalink

package repeat

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. repeat
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class RepeatData(interval: Option[DurationData] = None, n: Option[Int] = None, start: Option[TimeData] = None, workdayType: Option[WorkdayType] = None) extends Resolvable with Product with Serializable

    Permalink
  2. case class RepeatValue(interval: Option[DurationData] = None, n: Option[Int] = None, start: Option[SingleTimeValue] = None, workdayType: Option[WorkdayType] = None) extends ResolvedValue with Product with Serializable

    Permalink

    repeat bean

    repeat bean

    interval

    重复间隔,来自"每天/周"这部分

    n

    重复次数,"接下来三天"

    start

    初始时间或区间,比如 8点或者8-10点,在workdayType生效时,date部分需要忽略

    workdayType

    工作日/非工作日,是一种重复类型

  3. trait Rules extends DimRules with LazyLogging

    Permalink
  4. final class WorkdayType extends Enum[WorkdayType]

    Permalink

Value Members

  1. object Repeat extends Dimension with Rules with Product with Serializable

    Permalink
  2. def isHourTimes: Predicate

    Permalink
  3. def isOnlyWorkdaysType: Predicate

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped