Public 타입 | |
| enum | DateTimeStatus { error = -1, valid = 0, invalid = 1, null = 2 } |
Public 멤버 함수 | |
| CPnTime () throw () | |
| CPnTime (const VARIANT &varSrc) throw () | |
| CPnTime (const SYSTEMTIME &systimeSrc) throw () | |
| CPnTime (const FILETIME &filetimeSrc) throw () | |
| CPnTime (int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec, int nMillisec) throw () | |
| CPnTime (uint16_t wDosDate, uint16_t wDosTime) throw () | |
| CPnTime (const DBTIMESTAMP &dbts) throw () | |
| bool | GetAsDBTIMESTAMP (DBTIMESTAMP &dbts) const throw () |
| void | SetStatus (DateTimeStatus status) throw () |
| DateTimeStatus | GetStatus () const throw () |
| bool | GetAsSystemTime (SYSTEMTIME &sysTime) const throw () |
| bool | GetAsUDATE (UDATE &udate) const throw () |
| int | GetYear () const throw () |
| int | GetMonth () const throw () |
| int | GetDay () const throw () |
| int | GetHour () const throw () |
| int | GetMinute () const throw () |
| int | GetSecond () const throw () |
| int | GetMillisecond () const throw () |
| int | GetDayOfWeek () const throw () |
| int | GetDayOfYear () const throw () |
| CPnTime & | operator= (const VARIANT &varSrc) throw () |
| CPnTime & | operator= (const SYSTEMTIME &systimeSrc) throw () |
| CPnTime & | operator= (const FILETIME &filetimeSrc) throw () |
| CPnTime & | operator= (const UDATE &udate) throw () |
| bool | operator== (const CPnTime &date) const throw () |
| bool | operator!= (const CPnTime &date) const throw () |
| bool | operator< (const CPnTime &date) const throw () |
| bool | operator> (const CPnTime &date) const throw () |
| bool | operator<= (const CPnTime &date) const throw () |
| bool | operator>= (const CPnTime &date) const throw () |
| CPnTime | operator+ (CPnTimeSpan dateSpan) const throw () |
| CPnTime | operator- (CPnTimeSpan dateSpan) const throw () |
| CPnTime & | operator+= (CPnTimeSpan dateSpan) throw () |
| CPnTime & | operator-= (CPnTimeSpan dateSpan) throw () |
| CPnTimeSpan | operator- (const CPnTime &date) const throw () |
| int | SetDateTime (int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec, int nMillisec) throw () |
| int | SetDate (int nYear, int nMonth, int nDay) throw () |
| int | SetTime (int nHour, int nMin, int nSec, int nMillisec) throw () |
| bool | ParseDateTime (const PNTCHAR *lpszDate, uint32_t dwFlags=0, LCID lcid=LANG_USER_DEFAULT) throw () |
| String | Format (uint32_t dwFlags=0, LCID lcid=LANG_USER_DEFAULT) const |
| String | Format (const PNTCHAR *lpszFormat) const |
| String | Format (uint32_t nFormatID) const |
정적 Public 멤버 함수 | |
| static CPnTime | GetCurrentTime () throw () |
| static CPnTime | FromDATE (DATE dtSrc) |
Public 속성 | |
| DATE | m_dt |
| DateTimeStatus | m_status |
Protected 멤버 함수 | |
| void | CheckRange () |
| BOOL | ConvertSystemTimeToVariantTime (const SYSTEMTIME &systimeSrc) |
정적 Protected 멤버 함수 | |
| static double | DoubleFromDate (DATE date) throw () |
| static DATE | DateFromDouble (double f) throw () |
날짜시간 데이터 타입
| Proud::CPnTime::CPnTime | ( | ) | throw () |
생성자
| Proud::CPnTime::CPnTime | ( | const VARIANT & | varSrc | ) | throw () |
생성자
| Proud::CPnTime::CPnTime | ( | const SYSTEMTIME & | systimeSrc | ) | throw () |
생성자
생성자
| Proud::CPnTime::CPnTime | ( | int | nYear, |
| int | nMonth, | ||
| int | nDay, | ||
| int | nHour, | ||
| int | nMin, | ||
| int | nSec, | ||
| int | nMillisec | ||
| ) | throw () |
생성자
| Proud::CPnTime::CPnTime | ( | uint16_t | wDosDate, |
| uint16_t | wDosTime | ||
| ) | throw () |
생성자
| String Proud::CPnTime::Format | ( | uint32_t | dwFlags = 0, |
| LCID | lcid = LANG_USER_DEFAULT |
||
| ) | const |
날짜시간을 문자열로 만든다.
| String Proud::CPnTime::Format | ( | const PNTCHAR * | lpszFormat | ) | const |
날짜시간을 문자열로 만든다.
| String Proud::CPnTime::Format | ( | uint32_t | nFormatID | ) | const |
날짜시간을 문자열로 만든다.
|
static |
DATE 타입으로부터 이 객체를 생성
| int Proud::CPnTime::GetDay | ( | ) | const throw () |
일 값을 얻는다.
| int Proud::CPnTime::GetDayOfWeek | ( | ) | const throw () |
요일 값을 얻는다. (1: 일요일, 2: 월요일...)
| int Proud::CPnTime::GetDayOfYear | ( | ) | const throw () |
1년중 몇번째 날인지를 얻는다. (1: 1월 1일)
| int Proud::CPnTime::GetHour | ( | ) | const throw () |
시 값을 얻는다.
| int Proud::CPnTime::GetMillisecond | ( | ) | const throw () |
밀리초 값을 얻는다.
| int Proud::CPnTime::GetMinute | ( | ) | const throw () |
분 값을 얻는다.
| int Proud::CPnTime::GetMonth | ( | ) | const throw () |
월 값을 얻는다.
| int Proud::CPnTime::GetSecond | ( | ) | const throw () |
초 값을 얻는다.
| int Proud::CPnTime::GetYear | ( | ) | const throw () |
연도를 얻는다.
| bool Proud::CPnTime::operator!= | ( | const CPnTime & | date | ) | const throw () |
비교 연산자
| CPnTime Proud::CPnTime::operator+ | ( | CPnTimeSpan | dateSpan | ) | const throw () |
날짜 사칙연산자
| CPnTime& Proud::CPnTime::operator+= | ( | CPnTimeSpan | dateSpan | ) | throw () |
날짜 사칙연산자
| CPnTime Proud::CPnTime::operator- | ( | CPnTimeSpan | dateSpan | ) | const throw () |
날짜 사칙연산자
| CPnTimeSpan Proud::CPnTime::operator- | ( | const CPnTime & | date | ) | const throw () |
날짜 사칙연산자
| CPnTime& Proud::CPnTime::operator-= | ( | CPnTimeSpan | dateSpan | ) | throw () |
날짜 사칙연산자
| bool Proud::CPnTime::operator< | ( | const CPnTime & | date | ) | const throw () |
비교 연산자
| bool Proud::CPnTime::operator<= | ( | const CPnTime & | date | ) | const throw () |
비교 연산자
| CPnTime& Proud::CPnTime::operator= | ( | const VARIANT & | varSrc | ) | throw () |
복사 대입 연산자
| CPnTime& Proud::CPnTime::operator= | ( | const SYSTEMTIME & | systimeSrc | ) | throw () |
복사 대입 연산자
복사 대입 연산자
| CPnTime& Proud::CPnTime::operator= | ( | const FILETIME & | filetimeSrc | ) | throw () |
복사 대입 연산자
| CPnTime& Proud::CPnTime::operator= | ( | const UDATE & | udate | ) | throw () |
복사 대입 연산자
| bool Proud::CPnTime::operator== | ( | const CPnTime & | date | ) | const throw () |
비교 연산자
| bool Proud::CPnTime::operator> | ( | const CPnTime & | date | ) | const throw () |
비교 연산자
| bool Proud::CPnTime::operator>= | ( | const CPnTime & | date | ) | const throw () |
비교 연산자
| bool Proud::CPnTime::ParseDateTime | ( | const PNTCHAR * | lpszDate, |
| uint32_t | dwFlags = 0, |
||
| LCID | lcid = LANG_USER_DEFAULT |
||
| ) | throw () |
날짜시간을 문자열로부터 얻는다.
| int Proud::CPnTime::SetDate | ( | int | nYear, |
| int | nMonth, | ||
| int | nDay | ||
| ) | throw () |
날짜시간 설정
| int Proud::CPnTime::SetDateTime | ( | int | nYear, |
| int | nMonth, | ||
| int | nDay, | ||
| int | nHour, | ||
| int | nMin, | ||
| int | nSec, | ||
| int | nMillisec | ||
| ) | throw () |
날짜시간 설정
| int Proud::CPnTime::SetTime | ( | int | nHour, |
| int | nMin, | ||
| int | nSec, | ||
| int | nMillisec | ||
| ) | throw () |
날짜시간 설정