<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="html">OOSOOM[o:so:m]: Java-GregorianCalendar-Timezone-change에 달린 최근 댓글/트랙백 목록</title>
  <id>http://oosoom.org/</id>
  <link rel="alternate" type="text/html" hreflang="ko" href="http://oosoom.org/" />
  <subtitle type="html">Out of sight; Out of mind</subtitle>
  <updated>2011-06-02T08:53:01+09:00</updated>
  <generator>Textcube 1.7.8 : Con moto</generator>
  <entry>
    <title type="html">호빵맨님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://oosoom.org/97#comment530" />
    <author>
      <name>(호빵맨)</name>
    </author>
    <id>http://oosoom.org/97#comment530</id>
    <published>2008-04-17T02:02:02+09:00</published>
    <summary type="html">ㅋ, 그런 경우가. 그래서 locale, calendar, keyboard 등이 한 데 얽혀 있는거군. 엄청 황당 했었겠군. 난 예전에 2 + 2가 4로 안나와서 거 때문에 당황한 적이 있었던 거 같다. 왜 그랬는 지는 지금은 기억이 안나네.</summary>
  </entry>
  <entry>
    <title type="html">exedra님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://oosoom.org/97#comment532" />
    <author>
      <name>(exedra)</name>
    </author>
    <id>http://oosoom.org/97#comment532</id>
    <published>2008-04-17T13:44:11+09:00</published>
    <summary type="html">그래서 GregorianCalendar를 쓸 때는 아주 조심해야 할 것같다. DST가 적용되는 지역에서 쓸 때는 특히나 더.
2+2가 4가 안되는 경우를 빨리 찾아서 올려라~</summary>
  </entry>
  <entry>
    <title type="html">exedra님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://oosoom.org/97#comment533" />
    <author>
      <name>(exedra)</name>
    </author>
    <id>http://oosoom.org/97#comment533</id>
    <published>2008-04-19T03:23:28+09:00</published>
    <summary type="html">GregorianCalendar를 time zone과 상관 없이 단순히 날짜 계산을 위해 사용하고 싶다면 GregorianCalendar를 생성할 때 GMT로 time zone을 세팅하면 될 것같다.
즉 다음과 같이 한다는 말~
Calendar cal = new GregorianCalendar(TimeZone.getTimeZone(&amp;quot;GMT&amp;quot;));</summary>
  </entry>
  <entry>
    <title type="html">파이님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://oosoom.org/97#comment1193" />
    <author>
      <name>(파이)</name>
    </author>
    <id>http://oosoom.org/97#comment1193</id>
    <published>2010-10-12T02:45:27+09:00</published>
    <summary type="html">혹시 질문하나 해도 될까요? 인터넷을 타고 여기까지 왔는데..;

퀵솔트에서 medianof3 으로 피봇을 정해줄때

worst case의 time complexity가 nlogn이 되는지 증명좀 알 수 있을까 해서요.

일단 median으로 하면 최악의 경우는 안될테니..;;

증명을 못하겠네요..ㅠㅠ</summary>
  </entry>
  <entry>
    <title type="html">exedra님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://oosoom.org/97#comment1194" />
    <author>
      <name>(exedra)</name>
    </author>
    <id>http://oosoom.org/97#comment1194</id>
    <published>2010-10-13T01:52:34+09:00</published>
    <summary type="html">음... Introduction to Algorithm을 추천해 드립니다. 거기서 봤었는데, 그거 증명하려면 꽤나 길었던 기억이...
책을 다시 보면 모를까 지금 당장 기억나지는 않네요. ^^;;
혹시 책 보고 이해 안되시면 다시 한 번 질문해 주세요. 그럼, 제가 책을 다시 한 번 보고 알려드릴께요^^</summary>
  </entry>
</feed>

