What is the DateField class?

February 29th, 2008 by uCertify Leave a reply »

The DateField class allows a user to display and edit the values of date and time. The instance of this class is placed on a form. It has the following two constructors:

  • DateField(String label, int mode): This creates an instance with a specified label and mode.
  • DateField(String label, int mode, TimeZone timezone): This creates an instance with a specified caption or label, mode, and timezone.

The label parameter specifies the text associated with the instance.

The mode parameter specifies one of the following values:

  • DATE: It displays only date.
  • DATE_TIME: It displays both date and time.
  • TIME: It displays only time.

The timezone parameter defines a specific time zone, or the value is null if the default time zone of the system is used.

Click here to get free scmad SCMAD exam practice questions. Download free practice test for SUN SCMAD Mobile Application Developer exam.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.