| 123456789101112131415161718192021222324252627282930 |
- #pragma once
- class CSkylightMng
- {
- private:
- CSkylightMng();
- ~CSkylightMng();
- public:
- // ÅжÏÊÇ·ñÊÇÌì´°
- BOOL IsSkylight(SYSTEMTIME* pstTime = nullptr);
- BOOL IsSkylight(COleDateTime* pdtTime);
- BOOL IsSkylight(CTime* ptmTime);
- public:
- static inline CSkylightMng* GetInstance()
- {
- return &m_pInstance;
- }
- private:
- static CSkylightMng m_pInstance;
- };
|