Package | Description |
---|---|
com.viaoa.concurrent |
Solutions for concurrent processing patterns.
|
com.viaoa.converter |
Suports OAConverter class, package used to work with and transform data types.
|
com.viaoa.json.jackson | |
com.viaoa.model.oa |
Helper wrapper classes.
|
com.viaoa.process |
Used to manage processes.
|
com.viaoa.scheduler |
Used to create schedulers that manage list of datetime ranges, to find used and available datetime ranges.
|
com.viaoa.sync.model | |
com.viaoa.util |
Utility Classes used for object graphs and applications.
|
Modifier and Type | Method and Description |
---|---|
ScheduledFuture<?> |
OAScheduledExecutorService.schedule(Runnable r,
OADateTime dt) |
static void |
OAThread.sleepUntil(OADateTime dt) |
static void |
OAThread.sleepUntil(OADateTime dt,
long maxSeconds) |
Modifier and Type | Method and Description |
---|---|
protected OADateTime |
OAConverterCalendar.convertToOADateTime(Object value,
String fmt) |
protected OADateTime |
OAConverterOADateTime.convertToOADateTime(Object value,
String fmt) |
Modifier and Type | Method and Description |
---|---|
protected Object |
OAConverterCalendar.convertFromOADateTime(Class toClass,
OADateTime dtValue,
String fmt) |
protected Object |
OAConverterOADateTime.convertFromOADateTime(Class toClass,
OADateTime dtValue,
String fmt) |
Modifier and Type | Method and Description |
---|---|
OADateTime |
OADateTimeDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
void |
OADateTimeSerializer.serialize(OADateTime value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
Modifier and Type | Method and Description |
---|---|
OADateTime |
VDateTime.getValue() |
Modifier and Type | Method and Description |
---|---|
void |
VDateTime.setValue(OADateTime newValue) |
Modifier and Type | Method and Description |
---|---|
OADateTime |
OACron.findNext() |
OADateTime |
OACron.findNext(OADateTime dtFrom) |
OADateTime |
OACron.getCreated() |
OADateTime |
OACron.getLast() |
OADateTime |
OACron.getNext() |
OADateTime |
OACron.getNext(OADateTime dtFrom) |
Modifier and Type | Method and Description |
---|---|
protected void |
OACronProcessor.beforeProcess(OADateTime dtNow) |
OADateTime |
OACron.findNext(OADateTime dtFrom) |
OADateTime |
OACron.getNext(OADateTime dtFrom) |
void |
OACron.setLast(OADateTime dt) |
Modifier and Type | Method and Description |
---|---|
OADateTime |
OAScheduler.getBegin() |
OADateTime |
OASchedulerPlan.getBegin() |
OADateTime |
OAScheduler.getEnd() |
OADateTime |
OASchedulerPlan.getEnd() |
Modifier and Type | Method and Description |
---|---|
void |
OASchedule.add(OADateTime dtBegin,
OADateTime dtEnd)
Add a date range.
|
void |
OASchedule.add(OADateTime dtBegin,
OADateTime dtEnd,
R reference) |
void |
OASchedule.clear(OADateTime dtBegin,
OADateTime dtEnd)
Clear a time range that might already be scheduled.
|
boolean |
OAScheduler.isAvailable(OADateTime dt) |
boolean |
OASchedulerPlan.isAvailable(OADateTime dt) |
boolean |
OASchedule.isRangeAdded(OADateTime dt) |
void |
OASchedulerController.set(OADateTime dtFrom,
OADateTime dtTo)
Called to update the active object's schedule object's date & time values.
|
Constructor and Description |
---|
OAScheduler(T objSearch,
OADateTime dtBegin,
OADateTime dtEnd)
Set the begin and end datetime.
|
OASchedulerPlan(OADateTime dt) |
OASchedulerPlan(OADateTime dtBegin,
OADateTime dtEnd) |
Modifier and Type | Field and Description |
---|---|
protected OADateTime |
ClientInfo.created |
protected OADateTime |
ServerInfo.created
created time
|
protected OADateTime |
ClientInfo.disconnected |
Modifier and Type | Method and Description |
---|---|
OADateTime |
ClientInfo.getCreated() |
OADateTime |
ServerInfo.getCreated() |
OADateTime |
ClientInfo.getDisconnected() |
Modifier and Type | Method and Description |
---|---|
void |
ClientInfo.setCreated(OADateTime newValue) |
void |
ServerInfo.setCreated(OADateTime newValue) |
void |
ClientInfo.setDisconnected(OADateTime disconnected) |
Modifier and Type | Class and Description |
---|---|
class |
OADate
Date class that combines Calendar, Date and SimpleDateFormat into a single class.
|
class |
OATime
Time class that combines Calendar, Time and SimpleDateFormat into a single class.
|
Modifier and Type | Method and Description |
---|---|
OADateTime |
OADateTime.addDay() |
OADateTime |
OADateTime.addDays(int amount)
Return an OADateTime where a specified amount of days is added.
|
OADateTime |
OADateTime.addHours(int amount)
Return an OADateTime where a specified amount of hours is added.
|
OADateTime |
OADateTime.addMilliSeconds(int amount)
Return an OADateTime where a specified amount of milliseconds is added.
|
OADateTime |
OADateTime.addMinutes(int amount)
Return an OADateTime where a specified amount of minutes is added.
|
OADateTime |
OADateTime.addMonths(int amount)
Return an OADateTime where a specified amount of months is added.
|
OADateTime |
OADateTime.addSeconds(int amount)
Return an OADateTime where a specified amount of seconds is added.
|
OADateTime |
OADateTime.addWeeks(int amount)
Return an OADateTime where a specified amount of weeks added.
|
OADateTime |
OADateTime.addYears(int amount)
Return an OADateTime where a specified amount of years is added.
|
protected OADateTime |
OADateTime.convert(Object obj,
boolean bAlways)
Convert an Object to an OADateTime.
|
OADateTime |
OADateTime.convertTo(OATimeZone.TZ tz) |
OADateTime |
OADateTime.convertTo(TimeZone tz)
Convert the current dt to a different tz, which will adjust the (long) time value, affecting (year,month,day,hour) values
Note: for OADate year,month,day(,hour,min..) are not affected, only the timezone
Note: for OATime only hour and timezone are affected.
|
OADateTime |
OADateTime.convertToUTC() |
OADateTime |
OADateTime.subtractDay() |
OADateTime |
OADateTime.subtractDays(int amount) |
OADateTime |
OADateTime.subtractHours(int amount) |
OADateTime |
OADateTime.subtractMilliSeconds(int amount) |
OADateTime |
OADateTime.subtractMinutes(int amount) |
OADateTime |
OADateTime.subtractMonths(int amount) |
OADateTime |
OADateTime.subtractSeconds(int amount) |
OADateTime |
OADateTime.subtractWeeks(int amount) |
OADateTime |
OADateTime.subtractYears(int amount) |
static OADateTime |
OAConverter.toDateTime(String value)
Convert a String to an OADateTime.
|
static OADateTime |
OAConverter.toDateTime(String value,
String fmt)
Convert a String to an OADateTime.
|
static OADateTime |
OADate.valueOf(String date)
Converts a String to an OADate.
|
static OADateTime |
OADateTime.valueOf(String strDateTime)
Converts a String date to an OADateTime.
|
static OADateTime |
OATime.valueOf(String time)
Converts a String to an OATime using a default format.
|
static OADateTime |
OADate.valueOf(String date,
String fmt)
Converts a String to an OADate.
|
static OADateTime |
OADateTime.valueOf(String strDateTime,
String fmt)
Static method for converting a String date to an OADateTime.
If date is " " (space) then todays date will be returned. If date is null or "" then null is returned. |
static OADateTime |
OATime.valueOf(String time,
String fmt)
Converts a String to an OATime.
|
static OADateTime |
OADateTime.valueOf(String strDateTime,
String fmt,
boolean bTryOtherFormats) |
static OADateTime |
OADate.valueOf2(String date)
Throws an exception if date if not valid.
|
Modifier and Type | Method and Description |
---|---|
static String |
OAString.format(OADateTime value,
String format)
Calls OAConverter to convert and format OADateTime.
|
protected void |
OADateTime.setCalendar(OADateTime dt) |
Constructor and Description |
---|
OADate(OADateTime odt)
Create a new date that uses a specified OADateTime.
|
OADateTime(OADateTime odt)
Creates new datetime, using OADateTime parameter.
|
OATime(OADateTime od)
Create a new time that uses that uses a supplied OADateTime.
|
Copyright © 1999–2025 ViaOA. All rights reserved.