表示具有时区偏移的 DateTime。
Public NotInheritable Class DateTimeWithTimeZone
public sealed class DateTimeWithTimeZone
DateTimeWithTimeZone 类的所有成员,包括所有继承的成员。
名称 | 说明 |
---|---|
使用指定的年、月、日、小时、分钟、秒、毫秒、时区小时和时区分钟来构造 DateTimeWithTimeZone。 | |
分析给定的字符串并返回新的 DateTimeWithTimeZone。 | |
等效于将时区偏移附加到结尾的 DateTime.ToString()。 | |
获得与此对应的不带时区偏移的 DateTime。 | |
等效于 DateTime.Day。 | |
等效于 DateTime.Hour。 | |
等效于 DateTime.Millisecond。 | |
等效于 DateTime.Minute。 | |
等效于 DateTime.Month。 | |
等效于 DateTime.Second。 | |
获得时区偏移的小时部分。 | |
获得时区偏移的分钟部分。 | |
等效于 DateTime.Year。 |
DateTimeWithTimeZone 构造函数
分析方法
ToString 方法
DateTime 属性
Day 属性
Hour 属性
Millisecond 属性
Minute 属性
Month 属性
Second 属性
TimeZoneHour 属性
TimeZoneMinute 属性
Year 属性
![]() |
使用DocCommentXchange讨论此页。
|
版权 © 2013, SAP 股份公司或其关联公司. - SAP Sybase SQL Anywhere 16.0 |