10#include "MantidAlgorithms/DllConfig.h"
22 const std::string
name()
const override {
return "ChangeTimeZero"; };
24 const std::string
summary()
const override {
return "The algorithm adjusts the zero time of a workspace."; }
26 std::map<std::string, std::string> validateInputs()
override;
29 int version()
const override {
return 1; };
31 const std::string
category()
const override {
return "Utility\\Workspaces"; }
49 bool checkForDouble(
const std::string &val)
const;
51 bool checkForDateTime(
const std::string &val)
const;
55 double timeShift)
const;
58 double timeShift)
const;
63 bool isRelativeTimeShift(
double offset)
const;
64 bool isAbsoluteTimeShift(
const std::string &offset)
const;
66 const double m_defaultTimeShift = 0.0;
Base class from which all concrete algorithm classes should be derived.
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
const std::string m_defaultAbsoluteTimeShift
const std::string category() const override
Algorithm's category for identification.
The concrete, templated class for properties.
Base class for properties.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.