类的使用
cn.vorbote.time.DateTime

  • cn.vorbote.timeDateTime的使用

    返回DateTimecn.vorbote.time中的方法
    修饰符和类型
    方法
    说明
    DateTime.Add(TimeSpan ts)
    Add the specific time to the DateTime instance.
    DateTime.AddDays(double days)
    Returns a new DateTime that adds the specified number of days to the value of this instance.
    DateTime.AddHours(double hours)
    Returns a new DateTime that adds the specified number of hours to the value of this instance.
    DateTime.AddMilliseconds(int milliseconds)
    Returns a new DateTime that adds the specified number of hours to the value of this instance.
    DateTime.AddMinutes(double minutes)
    Returns a new DateTime that adds the specified number of hours to the value of this instance.
    DateTime.AddMonths(int months)
    Returns a new DateTime that adds the specified number of months to the value of this instance.
    DateTime.AddSeconds(int seconds)
    Returns a new DateTime that adds the specified number of seconds to the value of this instance.
    DateTime.AddYears(int years)
    Returns a new DateTime that adds the specified number of years to the value of this instance.
    DateTime.Minus(TimeSpan ts)
    Minus the specific time to the DateTime instance.
    static DateTime
    DateTime.Now()
    Get the current Date and Time.
    参数类型为DateTimecn.vorbote.time中的方法
    修饰符和类型
    方法
    说明
    int
    DateTime.compareTo(DateTime o)
    Compares this object with the specified object for order.
    int
    DateTime.CompareTo(DateTime o)
    Compares this object with the specified object for order.
    boolean
    DateTime.Equals(DateTime o)
    Returns a value indicating whether the value of this instance is equal to the value of the specified DateTime instance.
    DateTime.Minus(DateTime time)
    A DateTime instance minus another instance will return a TimeSpan instance, this TimeSpan instance will tell you how many days, hours, minutes, seconds and milliseconds between them.