Packages

object DateConverter

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DateConverter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type ConvertibleDate = persianutils.ConvertibleDate
  2. type GregorianDate = persianutils.GregorianDate
  3. type PersianDate = persianutils.PersianDate
  4. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val GregorianDate: persianutils.GregorianDate.type
  5. val PersianDate: persianutils.PersianDate.type
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. 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

  12. 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

  13. 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

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. 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

  20. 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

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. object SimpleDate extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped