Cuemon .NET Framework

DateSpan Structure Members

Cuemon Assembly > Cuemon Namespace : DateSpan Structure |

The following tables list the members exposed by DateSpan.

Public Constructors

Name | Description | |
---|---|---|

DateSpan Constructor | Overloaded. |

Public Properties

Name | Description | |
---|---|---|

Days | Gets the number of days represented by the current DateSpan structure. | |

Hours | Gets the number of hours represented by the current DateSpan structure. | |

Milliseconds | Gets the number of milliseconds represented by the current DateSpan structure. | |

Minutes | Gets the number of minutes represented by the current DateSpan structure. | |

Months | Gets the number of months represented by the current DateSpan structure. | |

Seconds | Gets the number of seconds represented by the current DateSpan structure. | |

Ticks | Gets the number of ticks represented by the current DateSpan structure. | |

TotalDays | Gets the total number of days represented by the current DateSpan structure. | |

TotalHours | Gets the total number of hours represented by the current DateSpan structure. | |

TotalMilliseconds | Gets the total number of milliseconds represented by the current DateSpan structure. | |

TotalMinutes | Gets the total number of minutes represented by the current DateSpan structure. | |

TotalMonths | Gets the total number of months represented by the current DateSpan structure. | |

TotalSeconds | Gets the total number of seconds represented by the current DateSpan structure. | |

Years | Gets the number of years represented by the current DateSpan structure. |

Public Methods

Name | Description | |
---|---|---|

Equals | Overloaded. Determines whether the specified System.Object is equal to this instance. | |

GetHashCode | Returns a hash code for this instance. | |

GetWeeks | Calculates the number of weeks represented by the current DateSpan structure. | |

Parse | Overloaded. Constructs a new DateSpan object from a date and time interval specified in a string. | |

ToString | Converts the value of the current DateSpan object to its equivalent string representation. |

Public Operators

Equality | Indicates whether two DateSpan instances are equal. |

Inequality | Indicates whether two DateSpan instances are not equal. |

See Also