implicit final class ApsoTimeLocalDate extends AnyVal
Implicit class that provides new methods for LocalDates.
- Alphabetic
- By Inheritance
- ApsoTimeLocalDate
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ApsoTimeLocalDate(d1: com.github.nscala_time.time.Imports.LocalDate)
- d1
the
LocalDateto which the new methods are provided.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val d1: com.github.nscala_time.time.Imports.LocalDate
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
to(d2: com.github.nscala_time.time.Imports.LocalDate): LocalDateInterval
Returns an iterable interval starting at this
LocalDate(inclusive) and ending at the givenLocalDate(inclusive), with a 1 day step.Returns an iterable interval starting at this
LocalDate(inclusive) and ending at the givenLocalDate(inclusive), with a 1 day step.- d2
the ending
LocalDate- returns
an iterable interval starting at this
LocalDate(inclusive) and ending at the givenLocalDate(inclusive), with a 1 day step.
-
def
toDateTimeAtEndOfDay(tz: com.github.nscala_time.time.Imports.DateTimeZone): DateTime
Returns a
DateTimecorresponding to thisLocalDateat the latest valid time for the date on the givenDateTimeZone.Returns a
DateTimecorresponding to thisLocalDateat the latest valid time for the date on the givenDateTimeZone.- tz
the target
DateTimeZonefor the returnedDateTime- returns
a
DateTimecorresponding to thisLocalDateat the latest valid time for the date on the givenDateTimeZone.
-
def
toDateTimeAtEndOfDay: DateTime
Returns a
DateTimecorresponding to thisLocalDateat the latest valid time for the date.Returns a
DateTimecorresponding to thisLocalDateat the latest valid time for the date.- returns
a
DateTimecorresponding to thisLocalDateat the latest valid time for the date.
-
def
toString(): String
- Definition Classes
- Any
-
def
until(d2: com.github.nscala_time.time.Imports.LocalDate): LocalDateInterval
Returns an iterable interval starting at this
LocalDate(inclusive) and ending at the givenLocalDate(exclusive), with a 1 day step.Returns an iterable interval starting at this
LocalDate(inclusive) and ending at the givenLocalDate(exclusive), with a 1 day step.- d2
the ending
LocalDate- returns
an iterable interval starting at this
LocalDate(inclusive) and ending at the givenLocalDate(exclusive), with a 1 day step.
-
def
utcDateTime: com.github.nscala_time.time.Imports.DateTime
Returns a
DateTimecorresponding to thisLocalDateat UTC midnight.Returns a
DateTimecorresponding to thisLocalDateat UTC midnight.- returns
a
DateTimecorresponding to thisLocalDateat UTC midnight.