Mantid
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
DateAndTimeHelpers.cpp File Reference
#include "MantidKernel/DateAndTimeHelpers.h"
#include "MantidKernel/Logger.h"
#include <Poco/DateTime.h>
#include <Poco/DateTimeFormat.h>
#include <Poco/DateTimeParser.h>
#include <numeric>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 
namespace  Mantid::Kernel::DateAndTimeHelpers
 

Functions

MANTID_KERNEL_DLL Types::Core::DateAndTime Mantid::Kernel::DateAndTimeHelpers::averageSorted (const std::vector< Types::Core::DateAndTime > &times)
 averageSorted Assuming that the vector is sorted, find the average time More...
 
MANTID_KERNEL_DLL Types::Core::DateAndTime Mantid::Kernel::DateAndTimeHelpers::averageSorted (const std::vector< Types::Core::DateAndTime > &times, const std::vector< double > &weights)
 
MANTID_KERNEL_DLL Types::Core::DateAndTime Mantid::Kernel::DateAndTimeHelpers::createFromSanitizedISO8601 (const std::string &date)
 Creates a DateAndTime object from a date string even if the string does not exactly conform to ISO8601 (ARGUS File) More...
 
MANTID_KERNEL_DLL std::string Mantid::Kernel::DateAndTimeHelpers::verifyAndSanitizeISO8601 (const std::string &date, bool displayWarnings)
 Verifies whether or not a string conforms to ISO8601. More...
 

Variables

Logger Mantid::Kernel::DateAndTimeHelpers::g_log ("DateAndTime")