À½Çâ

Áß±¹ ´Þ·Â µµ¼­°ü
Áö±Ý ´Ù¿î·Îµå

À½Çâ ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • GPL v3
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • LI Daobing
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://code.google.com/u/lidaobing/

À½Çâ ű×


À½Çâ ¼³¸í

Áß±¹ ´Þ·Â µµ¼­°ü Lunardate´Â ¼ø¼öÇÑ Python¿¡¼­ ÀÛ¼ºµÈ Áß±¹ ´Þ·Â µµ¼­°üÀÔ´Ï´Ù. >>> Lunardate.Fromsolardate (1976, 10, 1) Lunardate (1976, 8, 8, 1) >>> Lunardate (1976, 8, 8, 1). Tosolardate () datetime.date (1976, 10, 1) >>> Lunardate (1976, 8, 8, 1) .YEAR1976 >>> Lunardate (1976, 8, 8, 1) .month8 >>> Lunardate (1976, 8, 8, 1). ¿ù 8 ,>> Lunardate (1976, 8, 8, 1) .isleapmonthtrue >>> ¿À´Ã = lunardate.today () >>> À¯Çü (¿À´Ã) .__ À̸§ __ 'lunardate'>>> # Áö¿ø DateTime.Date¿Í DateTime.Timedelta >>> LD = Lunardate (1976,8,8) >>> SD = DateTime.Date (2008,1,1) >>> TD = DateTime. Timedelta (ÀÏ = 10) >>> LD-LDDateTime.Timedelta (0) >>> LD-SDDATETIME.Timedelta (-11444) >>> LD-TDLunardate (1976, 7, 27, 0) >>> SD-LDDDateTime .Timedelta (11444) >>> LD + Tdlunardate (1976, 8, 18, 0) >>> TD + Ldlunardate (1976, 8, 18, 0) >>> LD2 = lunardate.today () >>> LD >> LD >> LD> LD2FALSE >>> LD> = LD2FALSE >>> LD == LD2FALSE >>> LD! = LD2TRUE >>> LD == LDTRUE ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã Á¦ÇÑ »çÇ× : ¡¤ÀÌ ¶óÀ̺귯¸®´Â 1900 ³â¿¡¼­ 2049 ³â (Áß±¹¾î ´Þ·Â)¿¡¼­¸¸ ÇØ´ç ¿¬µµ¸¦ ó¸® ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ ¸±¸®½º¿¡¼­´Â »õ·Î¿î ±â´É : ¡¤ '+', '-'Áö¿ø ¹× ºñ±³, 2050 ³â¿¡ ¹ö±× ¼öÁ¤


À½Çâ °ü·Ã ¼ÒÇÁÆ®¿þ¾î