object DateConverter
- Alphabetic
- By Inheritance
- DateConverter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type ConvertibleDate = persianutils.ConvertibleDate
- type GregorianDate = persianutils.GregorianDate
- type PersianDate = persianutils.PersianDate
- case class SimpleDate(year: Int, month: Int, day: Int) extends ConvertibleDate with Product with Serializable
A simple date representation used in DateConverter.
A simple date representation used in DateConverter. Retained for backward compatibility.
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
- val GregorianDate: persianutils.GregorianDate.type
- val PersianDate: persianutils.PersianDate.type
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def gregorianToPersian(date: LocalDate): PersianDate
Converts a Gregorian date (as java.time.LocalDate) to Persian (a.k.a Jalali) date.
Converts a Gregorian date (as java.time.LocalDate) to Persian (a.k.a Jalali) date.
- date
Gregorian date as java.time.LocalDate
- returns
Persian date as PersianDate
- def gregorianToPersian(date: SimpleDate): SimpleDate
Converts a Gregorian date to Persian (a.k.a Jalali) date.
Converts a Gregorian date to Persian (a.k.a Jalali) date.
- date
Gregorian date as SimpleDate
- returns
Persian date as SimpleDate
- def gregorianToPersian(date: GregorianDate): PersianDate
Converts a Gregorian date to Persian (a.k.a Jalali) date.
Converts a Gregorian date to Persian (a.k.a Jalali) date.
- date
Gregorian date as GregorianDate
- returns
Persian date as PersianDate
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 persianToGregorian(date: SimpleDate): SimpleDate
Converts a Persian (a.k.a Jalali) date to Gregorian date.
Converts a Persian (a.k.a Jalali) date to Gregorian date.
- date
Persian date as SimpleDate
- returns
Gregorian date as SimpleDate
- def persianToGregorian(date: PersianDate): GregorianDate
Converts a Persian (a.k.a Jalali) date to Gregorian date.
Converts a Persian (a.k.a Jalali) date to Gregorian date.
- date
Persian date as PersianDate
- returns
Gregorian date as GregorianDate
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- object SimpleDate extends Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)