final case class GregorianDate(year: Int, month: Int, day: Int) extends ConvertibleDate with Product with Serializable
Represents a date in the Gregorian calendar.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GregorianDate
- Serializable
- Product
- Equals
- ConvertibleDate
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GregorianDate(year: Int, month: Int, day: Int)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asLocalDate: LocalDate
Converts this Gregorian date to a java.time.LocalDate.
Converts this Gregorian date to a java.time.LocalDate.
- Definition Classes
- GregorianDate → ConvertibleDate
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val day: Int
- Definition Classes
- GregorianDate → ConvertibleDate
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val month: Int
- Definition Classes
- GregorianDate → ConvertibleDate
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ConvertibleDate → AnyRef → Any
- def toWords: String
Converts this Gregorian date into Persian words.
Converts this Gregorian date into Persian words.
- Definition Classes
- GregorianDate → ConvertibleDate
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val year: Int
- Definition Classes
- GregorianDate → ConvertibleDate
Deprecated Value Members
- def asDate: Date
Converts this date to a legacy java.util.Date.
Converts this date to a legacy java.util.Date.
- Definition Classes
- ConvertibleDate
- Annotations
- @deprecated
- Deprecated
(Since version 6.0.0) Use asLocalDate instead; will be removed in version 7.0.0
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)