Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2034791
  • 博文数量: 413
  • 博客积分: 10926
  • 博客等级: 上将
  • 技术积分: 3862
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-09 18:14
文章分类

全部博文(413)

文章存档

2015年(5)

2014年(1)

2013年(5)

2012年(6)

2011年(138)

2010年(85)

2009年(42)

2008年(46)

2007年(26)

2006年(59)

分类: Java

2010-09-14 10:38:48

  1. Classes
    • Date
    • Time
    • Format
      • DateFormat (this class is defined in the packages android.text.format & java.text, that in the pakcage android.text.format provids more interfaces)
      • SimpleDateFormat
      • DateFormatSymbols
      • xxx
    • Utils
      • DateUtils
      • TimeUtils
    • xxx
  2. Get current time
    java.lang.System.currentTimeMillis();
  3. Date
    java.util.Date.
    It is a date/time operation util, you can use this class to get day, month, ...
  4. Date format
    • Get user configured date format
      DateFormat.getDateFormat(context);
    • Get week day strings
      DateFormatSymbols dfs = new DateFormatSymbols();
      String monday = dfs.getWeekDays[Calendar.MONDAY];
      String sunday = dfs.getWeekDays[Calendar.SUNDAY];
    • xxx
  5. Calendar
    java.util.Calendar.
  6. TimeZone
    java.util.TimeZone
  7. Dialog
    • DatePicker\DatePickerDialog
    • TimePicker\TimePickerDialog
  8. xxx
阅读(2863) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~