Modifier and Type | Method and Description |
---|---|
static BigDate |
BigDate.localToday()
Returns a BigDate object initialised to today's local date.
|
BigDate |
BigDate.nearestXXXDay(int dayOfWeek)
Find the BigDate with date closest to this one with the given day of week.
|
static BigDate |
BigDate.parseYYYYmmdd(java.lang.String incomplete)
Parse a, possibly incomplete, date String of form yyyy-yy-dd or yyyy-mm or yyyy into a BigDate
Also handles AD/BC, 1-digit months, 1-digit days and 1, 2 or 3-digit years.
|
static BigDate |
BigDate.today(java.util.TimeZone timeZone)
Returns a BigDate object initialised to the date right now in the given TimeZone.
|
static BigDate |
BigDate.UTCToday()
Returns a BigDate object initialised to today's UTC (Greenwich GMT) date, in other words the date and time in
Greenwich England right now without any summer time correction.
|
Modifier and Type | Method and Description |
---|---|
static int[] |
BigDate.age(BigDate birthDate,
BigDate asOf)
calculate the age in years, months and days.
|
static boolean |
BigDate.isAnniversary(BigDate birthDate,
BigDate asOf)
Determine if this date is someone's birthdate, or the aniversary of their death, or the anniversary
of a marriage etc.
|
Constructor and Description |
---|
BigDate(BigDate b)
Copy constructor
|