// stdafx.cpp : source file that includes just the standard includes
// MCSITransactionsSP.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

// TODO: reference any additional headers you need in STDAFX.H
// and not in this file

//define the < operator for timestamps
bool operator< (const TIMESTAMP_STRUCT& ts1, const TIMESTAMP_STRUCT& ts2)
{
	return ts1.year!=ts2.year ? ts1.year<ts2.year : (ts1.month != ts2.month ? ts1.month < ts2.month : 
	(ts1.day != ts2.day ? ts1.day < ts2.day  : (ts1.hour != ts2.hour ? ts1.hour < ts2.hour : 
	(ts1.minute != ts2.minute ? ts1.minute < ts2.minute : ts1.second < ts2.second))));
}