io
.
teamscala
.
scala
.
util
DateOps
Related Doc:
package util
final
class
DateOps
extends
AnyVal
Linear Supertypes
AnyVal
,
Any
Ordering
Alphabetic
By inheritance
Inherited
DateOps
AnyVal
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
DateOps
(
self:
Date
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
addDays
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
addHours
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
addMilliseconds
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
addMinutes
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
addMonths
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
addSeconds
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
addWeeks
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
addYears
(
amount:
Int
)
:
Date
Annotations
@inline
()
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
diff
(
to:
Date
)
:
Duration
Annotations
@inline
()
def
format
(
pattern:
String
,
timeZone:
TimeZone
=
TimeZone.getDefault
,
locale:
Locale
=
Locale.getDefault
)
:
String
Annotations
@inline
()
def
getClass
()
:
Class
[_ <:
AnyVal
]
Definition Classes
AnyVal → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
ofExpiry
:
Date
Annotations
@inline
()
def
ofExpiry
(
timeZone:
TimeZone
=
TimeZone.getDefault
,
locale:
Locale
=
Locale.getDefault
)
:
Date
해당 날짜의 만료시간을 가져온다.
해당 날짜의 만료시간을 가져온다.
timeZone
the time zone.
locale
the locale.
returns
만료시간. (23시 59분 59초 999밀리초)
val
self
:
Date
def
toString
()
:
String
Definition Classes
Any
def
truncAmPm
:
Date
Annotations
@inline
()
def
truncDate
:
Date
Annotations
@inline
()
def
truncHour
:
Date
Annotations
@inline
()
def
truncMillisecond
:
Date
Annotations
@inline
()
def
truncMinute
:
Date
Annotations
@inline
()
def
truncMonth
:
Date
Annotations
@inline
()
def
truncSecond
:
Date
Annotations
@inline
()
def
truncSemiMonth
:
Date
Annotations
@inline
()
def
truncYear
:
Date
Annotations
@inline
()
def
withDays
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
withHours
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
withMilliseconds
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
withMinutes
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
withMonths
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
withSeconds
(
amount:
Int
)
:
Date
Annotations
@inline
()
def
withYears
(
amount:
Int
)
:
Date
Annotations
@inline
()
Inherited from
AnyVal
Inherited from
Any
Ungrouped