public class InternalDate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
day |
protected int |
month |
protected int |
year |
Constructor and Description |
---|
InternalDate()
Constructs a zero date.
|
InternalDate(int year,
int month,
int day) |
Modifier and Type | Method and Description |
---|---|
static InternalDate |
from(java.util.Calendar x) |
static InternalDate |
from(java.time.LocalDate x) |
int |
getDay() |
int |
getMonth() |
int |
getYear() |
boolean |
isZero() |
void |
setDay(int day) |
void |
setMonth(int month) |
void |
setYear(int year) |
public InternalDate()
public InternalDate(int year, int month, int day)
public static InternalDate from(java.time.LocalDate x)
public static InternalDate from(java.util.Calendar x)
public int getYear()
public void setYear(int year)
public int getMonth()
public void setMonth(int month)
public int getDay()
public void setDay(int day)
public boolean isZero()