Uses of Class
com.iizix.prop.GDateTime
Packages that use GDateTime Package Description com.iizigo.prop.editor com.iizigo.prop.editor.dialog com.iizix.prop com.iizix.prop.ui com.iizix.prop.ui.datetime com.iizix.prop.ui.mlist com.iizix.prop.ui.value Uses of GDateTime in com.iizigo.prop.editor
Methods in com.iizigo.prop.editor that return GDateTime Modifier and Type Method Description GDateTime
DateTimePropEditor. getDefaultValue()
Gets the default defined value to set in the property when defined.protected GDateTime
DateTimePropEditor. getValue(java.lang.String input)
Gets the property value for a user input.Methods in com.iizigo.prop.editor with parameters of type GDateTime Modifier and Type Method Description java.lang.String
DateTimePropEditor. formatValue(GDateTime value)
Formats the value for user input as a String.void
DateTimePropEditor. onUpdate(GDateTime value)
Called when the property is updated without errors, with a new value.protected void
DateTimePropEditor. setInputValue(GDateTime value)
Sets the new input value.Uses of GDateTime in com.iizigo.prop.editor.dialog
Methods in com.iizigo.prop.editor.dialog that return GDateTime Modifier and Type Method Description GDateTime
DateTimeDialog. open()
Open the dialog.Constructors in com.iizigo.prop.editor.dialog with parameters of type GDateTime Constructor Description DateTimeDialog(org.eclipse.swt.widgets.Shell parent, GDateTime dateTime, GDateTime.Type type, java.util.HashSet<GDateTime.Type> acceptedTypes)
Create the dialog.Uses of GDateTime in com.iizix.prop
Fields in com.iizix.prop declared as GDateTime Modifier and Type Field Description static GDateTime
GDateTime. EPOCH_DATE
The epoch date as a LocalDate, i.e.static GDateTime
GDateTime. MIDNIGHT
The time as midnight as a LocalTime, i.e.Methods in com.iizix.prop that return GDateTime Modifier and Type Method Description static GDateTime
GDateTime. fromDate(java.sql.Date date)
Helper to constructs a date from an SQL Date instance as a LocalDate.static GDateTime
GDateTime. fromDate(java.util.Date date)
Helper to constructs a date from aDate
instance as a LocalDate.static GDateTime
GDateTime. fromDateTime(java.sql.Timestamp timeStamp)
Helper to constructs a date/time from a timestamp as a LocalDateTime.static GDateTime
GDateTime. fromDateTime(java.util.Date dateTime)
Helper to constructs a date/time from a data and time as a LocalDateTime.static GDateTime
GDateTime. fromString(GDateTime.Type type, java.lang.String string)
Creates a new GDateTime value from a type and a String.static GDateTime
GDateTime. fromTime(java.sql.Time time)
Helper to constructs a time from a Time instance as a LocalTime.static GDateTime
GDateTime. fromTime(java.util.Date time)
Helper to constructs a time from aDate
instance as a LocalTime.static GDateTime
GDateTime. fromValue(Value value)
Helper to constructs a date/time from aValue
, if the Value is of the Value Types LocalTime, OffsetTime, LocalDate, LocalDateTime, OffsetDateTime or ZonedDateTime.GDateTime
DateTimeProp. getDateTime()
Gets the current value set as an GDateTime.static GDateTime
GDateTime. now(GDateTime.Type type, LocaleInfo localeInfo)
Create a new GDateTime with the current date and/or time for a type.GDateTime
GDateTime. toDateValue()
Gets the date/time value that would match a date value component.GDateTime
GDateTime. toTimeValue()
Gets the date/time value that would match a time value component.GDateTime
GDateTime. toType(GDateTime.Type type, LocaleInfo localeInfo)
Converts a date/time value to another type.Methods in com.iizix.prop with parameters of type GDateTime Modifier and Type Method Description boolean
DateTimeProp. setDateTime(GDateTime dateTime)
Sets new date/time for this property.boolean
DateTimeProp. setPropValue(GDateTime newValue)
Sets a new value for this property.Constructors in com.iizix.prop with parameters of type GDateTime Constructor Description DateTimeProp(Atom propertyAtom, GDateTime newValue)
Creates a date/time property with the specified name and value.Uses of GDateTime in com.iizix.prop.ui
Methods in com.iizix.prop.ui that return GDateTime Modifier and Type Method Description GDateTime
UICalendar. getDefaultValue()
Gets the default date value when the value property is undefined.Uses of GDateTime in com.iizix.prop.ui.datetime
Methods in com.iizix.prop.ui.datetime that return GDateTime Modifier and Type Method Description default GDateTime
IUIDateTime. getDefaultValue()
Gets the default value of the component as a GDateTime.default GDateTime
IUIDateTime. getDefaultValue(LocaleInfo localeInfo)
Gets the default value of the component as a GDateTime.GDateTime
UIDateTime. getDefaultValue()
Gets the default value of the component as a GDateTime.GDateTime
IUIDateTime. getValue()
Gets the current date-time value.GDateTime
UIDateTime. getValue()
Gets the current date-time value.Methods in com.iizix.prop.ui.datetime with parameters of type GDateTime Modifier and Type Method Description boolean
UIDateTimeType. isValid(GDateTime dateTime)
Returns if a GDateType value is valid for this date-time type.default boolean
IUIDateTime. setValue(GDateTime value)
Sets the date-time value with the locale information of the current user session (or system default) in case value conversion is required.boolean
IUIDateTime. setValue(GDateTime value, LocaleInfo localeInfo)
Sets the date-time value.boolean
UIDateTime. setValue(GDateTime value)
Sets the date-time value with the locale information of the current user session (or system default) in case value conversion is required.boolean
UIDateTime. setValue(GDateTime value, LocaleInfo localeInfo)
Sets the date-time value.Uses of GDateTime in com.iizix.prop.ui.mlist
Methods in com.iizix.prop.ui.mlist that return GDateTime Modifier and Type Method Description GDateTime
MLDateTime. getValue()
Gets the date/time for the list item.Methods in com.iizix.prop.ui.mlist with parameters of type GDateTime Modifier and Type Method Description boolean
MLDateTime. setValue(GDateTime value, LocaleInfo localeInfo)
Sets the date-time value.Uses of GDateTime in com.iizix.prop.ui.value
Methods in com.iizix.prop.ui.value that return GDateTime Modifier and Type Method Description GDateTime
IUIDateTimeComponent. getDefaultValue()
Gets the default value of the component as a GDateTime.default GDateTime
IUIDateTimeComponent. getValue()
Gets the value of the component as a GDateTime.default GDateTime
IUIDateTimeComponent. getValueOrDefault()
Gets the value of the component as without throwing an exception as opposed toIUIDateTimeComponent.getValue()
but falls back to the default value if undefined.Methods in com.iizix.prop.ui.value with parameters of type GDateTime Modifier and Type Method Description boolean
IUIDateTimeComponent. setValue(GDateTime value)
Sets the value of the component as a date/time value.default boolean
IUIDateValueComponent. setValue(GDateTime value)
Sets the date value of the component as a date/time value.default boolean
IUITimeValueComponent. setValue(GDateTime value)
Sets the time value of the component as a date/time value.