#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; };