WeekState

org.beangle.commons.lang.time.WeekState
See theWeekState companion class
object WeekState

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
WeekState.type

Members list

Value members

Concrete methods

def apply(raw: String): WeekState
def build(start: Int, weeks: Int, cycle: WeekCycle): WeekState

Build a weekstate by cycle

Build a weekstate by cycle

Value parameters

cycle

cycle type(1"连续周", 2"单周", 3"双周", 4"任意周")

start

start week 1 based

weeks

how may weeks

Attributes

def of(weekIndex: Int): WeekState
def of(weekIndecies: Iterable[Int]): WeekState
def of(weekIndecies: Int*): WeekState

Concrete fields