java
.
util
Calendar
abstract
class
Calendar
extends
Cloneable
with
Serializable
with
Ordered
[
Calendar
]
Annotations
@SerialVersionUID
(
1807547505821590642L
)
Linear Supertypes
Ordered
[
Calendar
],
Comparable
[
Calendar
],
Serializable
,
Serializable
,
Cloneable
,
Cloneable
,
AnyRef
,
Any
Known Subclasses
GregorianCalendar
Ordering
Alphabetic
By inheritance
Inherited
Calendar
Ordered
Comparable
Serializable
Serializable
Cloneable
Cloneable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
computeFields
()
:
Unit
Attributes
protected
abstract
def
computeTime
()
:
Unit
Attributes
protected
abstract
def
getGreatestMinimum
(
field:
Int
)
:
Int
abstract
def
getLeastMaximum
(
field:
Int
)
:
Int
abstract
def
getMaximum
(
field:
Int
)
:
Int
abstract
def
getMinimum
(
field:
Int
)
:
Int
abstract
def
getTimeZone
:
TimeZone
Concrete Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
<
(
that:
Calendar
)
:
Boolean
Definition Classes
Ordered
def
<=
(
that:
Calendar
)
:
Boolean
Definition Classes
Ordered
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
>
(
that:
Calendar
)
:
Boolean
Definition Classes
Ordered
def
>=
(
that:
Calendar
)
:
Boolean
Definition Classes
Ordered
var
areFieldsSet
:
Boolean
Attributes
protected
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compare
(
anotherCalendar:
Calendar
)
:
Int
Definition Classes
Calendar
→ Ordered
def
compareTo
(
that:
Calendar
)
:
Int
Definition Classes
Ordered → Comparable
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
fields
:
Array
[
Int
]
Attributes
protected
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getActualMaximum
(
field:
Int
)
:
Int
def
getActualMinimum
(
field:
Int
)
:
Int
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getFirstDayOfWeek
()
:
Int
def
getMinimalDaysInFirstWeek
()
:
Int
def
getTimeInMillis
()
:
Long
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
init
(
timezone:
TimeZone
,
locale:
Locale
)
:
Unit
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
isSet
:
Array
[
Boolean
]
Attributes
protected
var
isTimeSet
:
Boolean
Attributes
protected
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
set
(
year:
Int
,
month:
Int
,
day:
Int
,
hourOfDay:
Int
,
minute:
Int
,
second:
Int
)
:
Unit
final
def
set
(
year:
Int
,
month:
Int
,
day:
Int
,
hourOfDay:
Int
,
minute:
Int
)
:
Unit
final
def
set
(
year:
Int
,
month:
Int
,
day:
Int
)
:
Unit
def
set
(
field:
Int
,
value:
Int
)
:
Unit
def
setFirstDayOfWeek
(
value:
Int
)
:
Unit
def
setLenient
(
value:
Boolean
)
:
Unit
def
setMinimalDaysInFirstWeek
(
value:
Int
)
:
Unit
def
setTimeInMillis
(
millis:
Long
)
:
Unit
def
setTimeZone
(
timezone:
TimeZone
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
var
time
:
Long
Attributes
protected
def
toInstant
:
Instant
Converts a
Calendar
to an
Instant
.
Converts a
Calendar
to an
Instant
.
returns
the instant, not null
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
Ordered
[
Calendar
]
Inherited from
Comparable
[
Calendar
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Cloneable
Inherited from
Cloneable
Inherited from
AnyRef
Inherited from
Any
Ungrouped