Show / Hide Table of Contents
View Source

Class DateHelper

Inheritance
System.Object
DateHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.Anonymization.Helpers
Assembly:EvilDICOM.dll
Syntax
public class DateHelper

Properties

View Source

BaseDate

Declaration
public static DateTime BaseDate { get; }
Property Value
Type Description
System.DateTime
View Source

RandomDate

Declaration
public static DateTime RandomDate { get; }
Property Value
Type Description
System.DateTime

Methods

View Source

DateRelativeBaseDate(Nullable<DateTime>, Nullable<DateTime>)

Declaration
public static DateTime? DateRelativeBaseDate(DateTime? original, DateTime? reference)
Parameters
Type Name Description
System.Nullable<System.DateTime> original
System.Nullable<System.DateTime> reference
Returns
Type Description
System.Nullable<System.DateTime>
View Source

YoungerThan89(String)

Checks to see if the patient age is less than 89 years old

Declaration
public static bool YoungerThan89(string file)
Parameters
Type Name Description
System.String file

Path to DICOM file containing patient information

Returns
Type Description
System.Boolean

boolean indication test

Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX