BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioTime.h
Go to the documentation of this file.
00001 #ifndef BIOTIME_H
00002 #define BIOTIME_H
00003 
00004 #include <iostream>
00005 #include <string>
00006 #include <sstream>
00007 #include <cstdio>
00008 #include <ctime>
00009 
00010 using namespace std;
00011 
00012 class BioTime
00013 {
00014 time_t now;
00015 int hrs;
00016 int mins;
00017 int secs;
00018 int week;
00019 int mon;
00020 int day;
00021 int year;
00022 string nowtime;
00023 
00024 void init();
00025 public: 
00026         BioTime();
00027   int getHours();
00028   int getMinutes();
00029   int getSeconds();
00030   int getWeek();
00031   int getDay();
00032   int getMonth();
00033   int getYear();
00034   void showTime(ostream & = cout);
00035   void showDate(ostream & = cout);
00036 };
00037 
00038 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines