Uses of Class
eu.webtoolkit.jwt.WDate
Package
Description
-
Uses of WDate in eu.webtoolkit.jwt
Modifier and TypeMethodDescriptionWDate.addDays
(int ndays) Add days to a date.WDate.addMilliseconds
(int nMilliseconds) Adds milliseconds.WDate.addMonths
(int nmonths) Add months to a date.WDate.addSeconds
(int nSeconds) Adds seconds.WDate.addYears
(int nyears) Add years to a date.static WDate
WDate.fromJulianDay
(int jd) Converts a Julian Day jd to a WDate.static WDate
WDate.fromString
(String text) Parse a WString to a date using a default format.static WDate
WDate.fromString
(String text, String format) Parse a String to a date using a specified format.WCalendar.getBottom()
Returns the bottom date of the valid range.WDateEdit.getBottom()
Returns the lower limit of the valid date range.WDatePicker.getBottom()
Deprecated.Returns the bottom date of the valid range.WDateValidator.getBottom()
Returns the bottom date of the valid range.static WDate
WDate.getCurrentDate()
Construct a date for the current client date.static WDate
WDate.getCurrentServerDate()
Construct a date for the current server date.WDateEdit.getDate()
Returns the date.WDatePicker.getDate()
Deprecated.The current date.WCalendar.getTop()
Returns the top date of the valid range.WDateEdit.getTop()
Returns the upper limit of the valid range.WDatePicker.getTop()
Deprecated.Returns the top date of the valid range.WDateValidator.getTop()
Returns the top date of the valid range.Modifier and TypeMethodDescriptionWCalendar.activated()
Signal emitted when the user double-clicks a date.WCalendar.clicked()
Signal emitted when the user clicks a date.WCalendar.getSelection()
Returns the current selection.Modifier and TypeMethodDescriptionboolean
Tests if this date is after the specified date.boolean
Tests if this date is after the specified date.void
Browses to a date.int
Compares this WDate object with the specified WDate object for order.int
Returns the number of days from this date to date.long
WDate.getMillisecondsTo
(WDate d) Returns the difference between to time values (in milliseconds).int
WDate.getSecondsTo
(WDate d) Returns the difference between to time values (in seconds).Returns the difference between two WDate values (as text).protected boolean
WCalendar.isSelected
(WDate d) Returns whether a date is selected.protected WWidget
WCalendar.renderCell
(WWidget widget, WDate date) Creates or updates a widget that renders a cell.void
Selects a date.void
Sets the bottom of the valid date range.void
Sets the lower limit of the valid date range.void
Deprecated.Sets the bottom of the valid date range.void
Sets the bottom of the valid date range.void
Sets the date.void
Deprecated.Sets the current date.void
Sets the top of the valid date range.void
Sets the upper limit of the valid date range.void
Deprecated.Sets the top of the valid date range.void
Sets the top of the valid date range.Modifier and TypeMethodDescriptionvoid
Selects multiple dates.ModifierConstructorDescriptionWDateValidator
(WDate bottom, WDate top) Creates a date validator.WDateValidator
(String format, WDate bottom, WDate top) Creates a date validator. -
Uses of WDate in eu.webtoolkit.jwt.auth
Modifier and TypeMethodDescriptionOAuthAccessToken.expires()
Returns the token expires time (if available).IssuedToken.getExpirationTime()
Retrieves the time when the token expires.Token.getExpirationTime()
Returns the expiration time.AbstractUserDatabase.getLastLoginAttempt
(User user) Returns the time of the last login.User.getLastLoginAttempt()
Returns the last login attempt.AbstractUserDatabase.idpTokenExpirationTime
(IssuedToken token) Gets the expiration time for a token.Modifier and TypeMethodDescriptionAbstractUserDatabase.idpTokenAdd
(String value, WDate expirationTime, String purpose, String scope, String redirectUri, User user, OAuthClient authClient) Adds a newIssuedToken
to the database and returns it.void
AbstractUserDatabase.setLastLoginAttempt
(User user, WDate t) Sets the time of the last login attempt. -
Uses of WDate in eu.webtoolkit.jwt.auth.jpa
-
Uses of WDate in eu.webtoolkit.jwt.chart
Modifier and TypeMethodDescriptionprotected WString
WAxis.autoDateFormat
(WDate dt, DateTimeUnit unit, boolean atTick) Returns the Date format.