What is the DateField class?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is the DateField class?

Rating:

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.


Rating:



Other articles

Click here to Article home

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