com
.
avsystem
.
scex
.
util
.
function
DateUtil
Related Doc:
package function
trait
DateUtil
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
DateUtilImpl
Ordering
Alphabetic
By Inheritance
Inherited
DateUtil
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
abstract
def
addDays
(
date:
Date
,
days:
Int
)
:
Date
abstract
def
addHours
(
date:
Date
,
hours:
Int
)
:
Date
abstract
def
addMilliseconds
(
date:
Date
,
milliseconds:
Int
)
:
Date
abstract
def
addMinutes
(
date:
Date
,
minutes:
Int
)
:
Date
abstract
def
addMonths
(
date:
Date
,
months:
Int
)
:
Date
abstract
def
addSeconds
(
date:
Date
,
seconds:
Int
)
:
Date
abstract
def
addWeeks
(
date:
Date
,
weeks:
Int
)
:
Date
abstract
def
addYears
(
date:
Date
,
years:
Int
)
:
Date
abstract
def
format
(
date:
Date
,
format:
String
)
:
String
abstract
def
formatTimeRange
(
from:
Date
,
to:
Date
)
:
String
abstract
def
formatTimeRange
(
from:
Long
,
to:
Long
)
:
String
abstract
def
formatTimeRange
(
from:
Double
,
to:
Double
)
:
String
abstract
def
fromMillis
(
millis:
Long
)
:
Date
abstract
def
isAfter
(
date1:
Date
,
date2:
Date
)
:
Boolean
abstract
def
isBefore
(
date1:
Date
,
date2:
Date
)
:
Boolean
abstract
def
isEqual
(
date1:
Date
,
date2:
Date
)
:
Boolean
abstract
def
now
()
:
Date
abstract
def
roundToDay
(
date:
Date
)
:
Date
abstract
def
roundToHours
(
date:
Date
)
:
Date
abstract
def
roundToMinutes
(
date:
Date
)
:
Date
abstract
def
roundToMonth
(
date:
Date
)
:
Date
abstract
def
roundToSeconds
(
date:
Date
)
:
Date
abstract
def
roundToYear
(
date:
Date
)
:
Date
abstract
def
setDays
(
date:
Date
,
days:
Int
)
:
Date
abstract
def
setHours
(
date:
Date
,
hours:
Int
)
:
Date
abstract
def
setMilliseconds
(
date:
Date
,
milliseconds:
Int
)
:
Date
abstract
def
setMinutes
(
date:
Date
,
minutes:
Int
)
:
Date
abstract
def
setMonths
(
date:
Date
,
months:
Int
)
:
Date
abstract
def
setSeconds
(
date:
Date
,
seconds:
Int
)
:
Date
abstract
def
setYears
(
date:
Date
,
years:
Int
)
:
Date
abstract
def
truncateByDay
(
date:
Date
)
:
Date
abstract
def
truncateByHours
(
date:
Date
)
:
Date
abstract
def
truncateByMinutes
(
date:
Date
)
:
Date
abstract
def
truncateByMonth
(
date:
Date
)
:
Date
abstract
def
truncateBySeconds
(
date:
Date
)
:
Date
abstract
def
truncateByYear
(
date:
Date
)
:
Date
Concrete 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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped