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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -