final case class MonthDayOps(underlying: MonthDay) extends AnyVal with Product with Serializable
- Alphabetic
- By Inheritance
- MonthDayOps
- Serializable
- Serializable
- Product
- Equals
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MonthDayOps(underlying: MonthDay)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from MonthDayOps to any2stringadd[MonthDayOps] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (MonthDayOps, B)
- Implicit
- This member is added by an implicit conversion from MonthDayOps to ArrowAssoc[MonthDayOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
def
<(other: MonthDay): Boolean
Returns
true
if this month-day is before the specified one. -
def
<=(other: MonthDay): Boolean
Returns
true
if this month-day is equal to or before the specified one. -
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
>(other: MonthDay): Boolean
Returns
true
if this month-day is after the specified one. -
def
>=(other: MonthDay): Boolean
Returns
true
if this month-day is equal to or after the specified one. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ensuring(cond: (MonthDayOps) ⇒ Boolean, msg: ⇒ Any): MonthDayOps
- Implicit
- This member is added by an implicit conversion from MonthDayOps to Ensuring[MonthDayOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (MonthDayOps) ⇒ Boolean): MonthDayOps
- Implicit
- This member is added by an implicit conversion from MonthDayOps to Ensuring[MonthDayOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): MonthDayOps
- Implicit
- This member is added by an implicit conversion from MonthDayOps to Ensuring[MonthDayOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): MonthDayOps
- Implicit
- This member is added by an implicit conversion from MonthDayOps to Ensuring[MonthDayOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from MonthDayOps to StringFormat[MonthDayOps] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val underlying: MonthDay
-
def
|>(formatter: DateTimeFormatter): String
Formats this month-day using the specified formatter.
Formats this month-day using the specified formatter.
- Exceptions thrown
DateTimeException
- if an error occurs during printing
-
def
~=(month: Option[Month], day: Option[Int]): MonthDay
Obtains a copy of this MonthDay with the month-of-year and/or day-of-month altered.
Obtains a copy of this MonthDay with the month-of-year and/or day-of-month altered.
- Exceptions thrown
DateTimeException
if the day-of-month value is invalid for the month.
-
def
~=(day: Int): MonthDay
Obtains a copy of this MonthDay with the day-of-month altered.
Obtains a copy of this MonthDay with the day-of-month altered.
- Exceptions thrown
DateTimeException
if the day-of-month value is invalid for the month.
-
def
~=(month: Month): MonthDay
Obtains a copy of this MonthDay with the month-of-year altered.
-
def
→[B](y: B): (MonthDayOps, B)
- Implicit
- This member is added by an implicit conversion from MonthDayOps to ArrowAssoc[MonthDayOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
-
def
▹(formatter: DateTimeFormatter): String
Formats this month-day using the specified formatter.
Formats this month-day using the specified formatter.
- Exceptions thrown
DateTimeException
- if an error occurs during printing
Scala Time
scala-time is a simple Scala wrapper for easier use JDK 1.8.0 (Java 8) time APIs
Overview
The library is contained in the scalatime package which includes extension methods provided via implicit conversion methods to Scala value classes.
For usage examples see below: