How to validate date must be come after today’s date with datefield in blackberry -


इसलिए मैं एक DateField :

  DateField date = नई तिथिफ़ील्ड ("दिनांक:", सिस्टम। कंटेंटटाइम मिलिसे (), डेटफिल्ड। DATE_TIME);  

आज की तिथि के बाद तिथि के इनपुट को कैसे मान्य करना चाहिए? मुझे नहीं पता कि तिथिफील्ड से मूल्य कैसे प्राप्त करें।

पहले से धन्यवाद

शायद ऐसा कुछ:

  यदि (date.getDate () & lt; calendar.getInstance ()। GetTimeInMillis ()) {// जो भी हो}  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -