|
|
|
Calendar...problem
|
|||
|---|---|---|---|
|
#18+
не могу понять в чем проблема: DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar calendar = df.getCalendar(); Date date = calendar.getTime(); после этого в date yyyy=1926, все остальное нормально, в смысле часы, минуты... Системное время настроено нормально, почему 1926 год. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.09.2006, 02:25:32 |
|
||
|
Calendar...problem
|
|||
|---|---|---|---|
|
#18+
Потому что это внутри SimpleDateFormat при инициализации используется такой метод: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.09.2006, 11:25:29 |
|
||
|
|

start [/forum/search_topic.php?author=Dims+S&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
8ms |
get forum list: |
19ms |
get settings: |
12ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
203ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
1ms |
| others: | 748ms |
| total: | 1082ms |

| 0 / 0 |
