Table of Contents

Class TxDate

Namespace
Textkernel.Tx.Models
Assembly
Textkernel.Tx.SDK.dll

the custom Date type that represents dates found in resumes/jobs. The following are common examples:
- Current, as in "July 2018 - current". See IsCurrentDate
- Year only, as in "2018 - 2020". FoundYear will be true, FoundMonth and FoundDay will be false
- Year and month, as in "2018/06 - 2020/07". FoundYear and FoundMonth will be true, FoundDay will be false
- Year/month/day, as in "5/4/2018 - 7/2/2020". FoundYear, FoundMonth, and FoundDay will be true

public class TxDate
Inheritance
TxDate
Inherited Members

Properties

Date

The ISO 8601 (yyyy-MM-dd) date, if the day and/or month could not be found, they will be 01

public DateTime Date { get; set; }

Property Value

DateTime

FoundDay

true if the day was found in the text (eg: June 7, 2020), otherwise false (eg: June 2020)

public bool FoundDay { get; set; }

Property Value

bool

FoundMonth

true if the month was found in the text (eg: June 2020), otherwise false (eg: 2020)

public bool FoundMonth { get; set; }

Property Value

bool

FoundYear

true if the year was found in the text, otherwise false

public bool FoundYear { get; set; }

Property Value

bool

IsCurrentDate

true if this date represents '- current' and not an actual date

public bool IsCurrentDate { get; set; }

Property Value

bool