Directory

← Back

TimeField

Field for selecting time of day

Author

Rating

Popularity

100+

Ever wanted to use only the time part of DateField, without the actual day?

TimeField features:

  • 12 or 24 hour clock format, based either on given or detected (browser) locale
  • hour, minute or second resolution
  • no custom client-side (no extra compiling!)
  • supports all Field features

NOTE: requires CustomField add-on when using Vaadin6.

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Fixes issue where fields weren't refreshed when setting the resolution.

Released
2012-11-23
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.0+
Vaadin 8.2+ in 3.0.0-v8comp
Vaadin 7.6+ in 3.0.0
Vaadin 6.8+ in 0.3
Browser
Browser Independent

TimeField - Vaadin Add-on Directory

Field for selecting time of day TimeField - Vaadin Add-on Directory
Ever wanted to use only the time part of DateField, without the actual day? TimeField features: - 12 or 24 hour clock format, based either on given or detected (browser) locale - hour, minute or second resolution - no custom client-side (no extra compiling!) - supports all Field features NOTE: requires CustomField add-on when using Vaadin6.
Discussion Forum
Source Code

TimeField version 0.2-v7
Fixes issue where fields weren't refreshed when setting the resolution.

TimeField version 0.3
Adds tabIndex support

TimeField version 0.7
Adds tabIndex support

TimeField version 0.9
- Refactors 12h-support by removing am/pm select (it is now visible in the hour select) - Adds possibility to set min and max bounds for hour value - Adds possibility to set interval for minute value (e.g. only show option for each 20 minutes) - Better input checking - minor bugfixes

TimeField version 2.0
Updated Project to Maven and Java 8. Added new LocalTimeField for Java 8 time type. Moved hosting to GitHub. Projects running Java7 or below should use version 0.9.

TimeField version 3.0.0
Fixes issue found by Ruud Paulissen, thanks!

TimeField version 3.0.0-v8comp
Version 3.0.0 for Vaadin 8, using V7 compatibility packages.

Online