Class CalendarFormatUtil
Inheritance
System.Object
CalendarFormatUtil
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FixAntenna.Message.dll
public class CalendarFormatUtil
Methods
Declaration
public static int FormatDate(int day, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
day |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static int FormatHours(int hour, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
hour |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static int FormatMillis(int millisecond, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
millisecond |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static int FormatMinutes(int minute, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
minute |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static int FormatMonth(int month, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
month |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static int FormatSeconds(int second, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
second |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static int FormatTimeZone(DateTimeOffset cal, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.DateTimeOffset |
cal |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static int FormatWeek(int weekOfMonth, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
weekOfMonth |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static int FormatYear(int year, byte[] buff, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
year |
|
System.Byte[] |
buff |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|