PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.DateTimeParser Class Reference

More...

Inheritance diagram for PeanutButter.Utils.DateTimeParser:
PeanutButter.Utils.IDateTimeParser

Public Member Functions

DateTime Parse (string date)
 Attempts to parse the given date string into a DateTime object.

Detailed Description

Member Function Documentation

◆ Parse()

DateTime PeanutButter.Utils.DateTimeParser.Parse ( string date)

Attempts to parse the given date string into a DateTime object.

  • direct parsing
  • relative parsing, eg 1 day ago, 3 weeks ago
Parameters
date
Returns

Implements PeanutButter.Utils.IDateTimeParser.


The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.Utils/DateTimeParser.cs