public class CalendarUtils
extends java.lang.Object
Calendars.| Modifier and Type | Field and Description |
|---|---|
static CalendarUtils |
INSTANCE
The singleton instance for
Calendar.getInstance(). |
| Constructor and Description |
|---|
CalendarUtils(java.util.Calendar calendar)
Creates an instance for the given Calendar.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDayOfMonth()
Gets the current day of month.
|
int |
getDayOfYear()
Gets the current day of year.
|
int |
getMonth()
Gets the current month.
|
int |
getYear()
Gets the current year.
|
public static final CalendarUtils INSTANCE
Calendar.getInstance().public CalendarUtils(java.util.Calendar calendar)
calendar - A Calendar.public int getDayOfMonth()
public int getDayOfYear()
public int getMonth()
public int getYear()
Copyright © 2010 - 2023 Adobe. All Rights Reserved