Welcome Guest [Log In] [Register]
Welcome to Awsoem. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Jämrans I Min Låda!; i has a forumz
Topic Started: Mar 16 2009, 07:40 PM (153 Views)
ville
Administrator
[ *  *  *  *  *  *  *  *  *  *  * ]
Tjenare bruschaaaaan!

Tänkte bara att vi kunde slänga ihop ett forum så man lätt kan dela med sig med information och kod och annat smått och gott som hör projektet till!
Offline Profile Quote Post Goto Top
 
Maxieboi
BURGA
[ *  *  * ]
omgz kewl!
Offline Profile Quote Post Goto Top
 
Maxieboi
BURGA
[ *  *  * ]
promota mig från n00b btw!
Offline Profile Quote Post Goto Top
 
ville
Administrator
[ *  *  *  *  *  *  *  *  *  *  * ]
haha okej! Sitter och försöker fixa ihop nått smidigt sätt att typ hantera den inbyggda kalendern. Kan typ vara ganska smidigt att ha och typ samordna!
Offline Profile Quote Post Goto Top
 
Jankish
OHLOL
[ *  *  *  *  *  *  *  *  *  *  * ]
Heahoooo!
Hitta också hit! Ville, detta låter som en bra idé, bra jobbat. Here's a cookie
Offline Profile Quote Post Goto Top
 
gril
BURGA
[ *  *  * ]
början till lite kod.
kommentera gärna

http://cid-e527af6db0893fd9.skydrive.live....se.aspx/.Public

zippen CykelGarage är alltså det relevanta..

edit: Klassen BicycleGarageManager i paketet manager är den som vi har skrivit, de övriga har tagits från kurshemsidan.
:ph43r:
Offline Profile Quote Post Goto Top
 
ville
Administrator
[ *  *  *  *  *  *  *  *  *  *  * ]
Code:
 
private String getDateTime(){
 String ret=calendar.get(Calendar.YEAR)+"-";
 
 String tmp=""+calendar.get(Calendar.MONTH);
 if(tmp.length()==1)
  ret+="0"+tmp+"-";
 else
  ret+=tmp+"-";
 tmp = ""+calendar.get(Calendar.DATE);
 if(tmp.length()==1)
  ret+="0"+tmp+"\t";
 else
  ret+=tmp+"\t";
 tmp = ""+calendar.get(Calendar.HOUR_OF_DAY);
 if(tmp.length()==1)
  ret+="0"+tmp+":";
 else
  ret+=tmp+":";
 tmp = ""+calendar.get(Calendar.MINUTE);
 if(tmp.length()==1)
  ret+="0"+tmp+"\t";
 else
  ret+=tmp+"\t";
 
 return ret;
}


Dagens ändring! Awsoem

Snyggade till dat-dum i logg.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Projekt: Cykelgarage · Next Topic »
Add Reply