메소드 | 설명 | |
---|---|---|
DateTimeFromJavascriptTimestamp ( long date ) : System.DateTime | ||
FirstLetterToUpper ( string str ) : string |
Makes every string's first letter upper case the rest lower case
|
|
GetIso8601WeekOfYear ( System.DateTime time ) : int |
This presumes that weeks start with Monday. Week 1 is the 1st week of the year with a Thursday in it. see: http://stackoverflow.com/questions/11154673/get-the-correct-week-number-of-a-given-date
|
|
JavascriptTimestampFromDateTime ( System.DateTime date ) : long |
JavaScript Timestamp from C# DateTime
|
|
RoundUp ( System.DateTime dt, System.TimeSpan d ) : System.DateTime |
Rounds up a time (e.g. 10minutes)
|
public static DateTimeFromJavascriptTimestamp ( long date ) : System.DateTime | ||
date | long | |
리턴 | System.DateTime |
public static FirstLetterToUpper ( string str ) : string | ||
str | string | |
리턴 | string |
public static GetIso8601WeekOfYear ( System.DateTime time ) : int | ||
time | System.DateTime | |
리턴 | int |
public static JavascriptTimestampFromDateTime ( System.DateTime date ) : long | ||
date | System.DateTime | |
리턴 | long |
public static RoundUp ( System.DateTime dt, System.TimeSpan d ) : System.DateTime | ||
dt | System.DateTime | |
d | System.TimeSpan | |
리턴 | System.DateTime |