Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

hyp.ker.ex.time.cpp

/*
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
 Hyperion Pattern.
 Hyperion Pattern is a part of the Hyperion Project.
----------------------------------------------------------
 Copyright (c) 2001 Pierre Rebours.

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 See hyp.license.txt file for more information about the license.
 
 Web: http://lagrandeporte.multimania.com/hyperion
 Email: amtycho@yahoo.fr
----------------------------------------------------------
 CVS
 $Log$
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
*/

#include"hyp.ker.ex.h"

void TimeTest(void)
{
        hyp_ker::CTime time;

        time.SetCurrentLocalGMT();
        g_OutStream<<"Local GMT time : "<<time<<"\n";

        time.SetCurrentGMT();
        g_OutStream<<"GMT time : "<<time<<"\n";

        time.SetCurrent();
        g_OutStream<<"Local time : "<<time<<"\n";

        time.SetInfinite();
        g_OutStream<<"Infinite time :"<<time<<"\n";
}

Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.