Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add getDate and setDate methods to Messages API #11

Open
ghost opened this Issue Jul 27, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@ghost

ghost commented Jul 27, 2011

The existing blackberry.message.Message API is currently missing a 'date' field. Recommend adding get/set methods.

https://github.com/blackberry/WebWorks/blob/master/api/messaging/src/main/java/blackberry/messaging/message/MessageObject.java

Member

tneil commented Aug 2, 2011

I agree that we should have both the received and sent dates but these should be readonly properties. These are set by the system when the message is received or sent

I would suggest:

readonly Date receivedDate;
readonly Date sentDate;

Reference:
http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/mail/Message.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment