CalendarPeriod

com.google.type.calendar_period.CalendarPeriod$
See theCalendarPeriod companion class
object CalendarPeriod extends GeneratedEnumCompanion[CalendarPeriod]

Attributes

Companion:
class
Source:
CalendarPeriod.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[CalendarPeriod]
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

Undefined period, raises an error.

Undefined period, raises an error.

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object DAY extends CalendarPeriod with Recognized

A day.

A day.

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
DAY.type
case object FORTNIGHT extends CalendarPeriod with Recognized

A fortnight. The first calendar fortnight of the year begins at the start of week 1 according to ISO 8601.

A fortnight. The first calendar fortnight of the year begins at the start of week 1 according to ISO 8601.

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object HALF extends CalendarPeriod with Recognized

A half-year. Half-years start on dates 1-Jan and 1-Jul.

A half-year. Half-years start on dates 1-Jan and 1-Jul.

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
HALF.type
case object MONTH extends CalendarPeriod with Recognized

A month.

A month.

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
MONTH.type
case object QUARTER extends CalendarPeriod with Recognized

A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each year.

A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each year.

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
QUARTER.type
sealed trait Recognized extends CalendarPeriod

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object DAY.type
object FORTNIGHT.type
object HALF.type
object MONTH.type
object QUARTER.type
object WEEK.type
object YEAR.type
final case class Unrecognized(unrecognizedValue: Int) extends CalendarPeriod with UnrecognizedEnum

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait UnrecognizedEnum
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case object WEEK extends CalendarPeriod with Recognized

A week. Weeks begin on Monday, following ISO 8601.

A week. Weeks begin on Monday, following ISO 8601.

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
WEEK.type
case object YEAR extends CalendarPeriod with Recognized

A year.

A year.

Attributes

Source:
CalendarPeriod.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
YEAR.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedEnumCompanion
Source:
GeneratedMessageCompanion.scala

Value members

Concrete methods

def fromValue(`__value`: Int): CalendarPeriod

Attributes

Source:
CalendarPeriod.scala
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source:
CalendarPeriod.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source:
CalendarPeriod.scala

Inherited methods

def fromName(name: String): Option[A]

Attributes

Inherited from:
GeneratedEnumCompanion
Source:
GeneratedMessageCompanion.scala

Concrete fields

Attributes

Source:
CalendarPeriod.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[CalendarPeriod]

Attributes

Source:
CalendarPeriod.scala