I ve made an windows phone app in c# and now I m making equal android app. I ve come to the problem where I have to compare some times. In c# there is a well known TimeSpan class but I see that java(Android) does not have such class.
Could anyone tell me how could I approach such problem. The thing is that I m running out of time and I would like some decent answers if possible.
castajiz_2
35
Posting Whiz
Recommended Answers
Jump to PostTime is Android represented either by Date or Time objects. Each of these will return result in miliseconds as long variable (http://developer.android.com/reference/java/util/Date.html#getTime()
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.