Object/Class

java.time.temporal

WeekFields

Related Docs: class WeekFields | package temporal

Permalink

object WeekFields extends Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WeekFields
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val ISO: WeekFields

    Permalink

    The ISO-8601 definition, where a week starts on Monday and the first week has a minimum of 4 days.

    The ISO-8601 definition, where a week starts on Monday and the first week has a minimum of 4 days.

    The ISO-8601 standard defines a calendar system based on weeks. It uses the week-based-year and week-of-week-based-year concepts to split up the passage of days instead of the standard year/month/day.

    Note that the first week may start in the previous calendar year. Note also that the first few days of a calendar year may be in the week-based-year corresponding to the previous calendar year.

  5. lazy val SUNDAY_START: WeekFields

    Permalink

    The common definition of a week that starts on Sunday.

    The common definition of a week that starts on Sunday.

    Defined as starting on Sunday and with a minimum of 1 day in the month. This week definition is in use in the US and other European countries.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def of(firstDayOfWeek: DayOfWeek, minimalDaysInFirstWeek: Int): WeekFields

    Permalink

    Obtains an instance of WeekFields from the first day-of-week and minimal days.

    Obtains an instance of WeekFields from the first day-of-week and minimal days.

    The first day-of-week defines the ISO DayOfWeek that is day 1 of the week. The minimal number of days in the first week defines how many days must be present in a month or year, starting from the first day-of-week, before the week is counted as the first week. A value of 1 will count the first day of the month or year as part of the first week, whereas a value of 7 will require the whole seven days to be in the new month or year.

    WeekFields instances are singletons; for each unique combination of firstDayOfWeek and minimalDaysInFirstWeek the the same instance will be returned.

    firstDayOfWeek

    the first day of the week, not null

    minimalDaysInFirstWeek

    the minimal number of days in the first week, from 1 to 7

    returns

    the week-definition, not null

    Exceptions thrown

    IllegalArgumentException if the minimal days value is less than one or greater than 7

  18. def of(locale: Locale): WeekFields

    Permalink

    Obtains an instance of WeekFields appropriate for a locale.

    Obtains an instance of WeekFields appropriate for a locale.

    This will look up appropriate values from the provider of localization data.

    locale

    the locale to use, not null

    returns

    the week-definition, not null

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped