Property | Type | Description | |
---|---|---|---|
m_defVal |
Method | Description | |
---|---|---|
@typeof ( ) : |
||
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
boot ( ) : |
||
compare ( object obj ) : long | ||
date ( ) : Fan.Sys.Date | ||
day ( ) : long | ||
dayOfYear ( int year, int mon, int day ) : int |
Static util for day of year (0-365). NOTE: this is zero based, unlike public Fantom method.
|
|
dayOfYear ( ) : long | ||
dotnet ( long dotnetTicks ) : |
||
dotnet ( ) : long | ||
dst ( ) : bool | ||
floor ( |
||
fromHttpStr ( string s ) : |
||
fromHttpStr ( string s, bool check ) : |
||
fromIso ( string s ) : |
||
fromIso ( string s, bool check ) : |
||
fromJava ( long millis ) : |
||
fromJava ( long millis, |
||
fromJava ( long millis, |
||
fromLocale ( string s, string pattern ) : |
||
fromLocale ( string s, string pattern, |
||
fromLocale ( string s, string pattern, |
||
fromStr ( string s ) : |
||
fromStr ( string s, bool check ) : |
||
getDST ( ) : bool | ||
getDay ( ) : int | ||
getHour ( ) : int | ||
getMin ( ) : int | ||
getNanoSec ( ) : int | ||
getSec ( ) : int | ||
getTicks ( ) : long | ||
getYear ( ) : int | ||
hash ( ) : long | ||
hour ( ) : long | ||
hoursInDay ( ) : long | ||
isLeapYear ( int year ) : bool | ||
isLeapYear ( long year ) : bool | ||
isMidnight ( ) : bool | ||
make ( long year, |
||
make ( long year, |
||
make ( long year, |
||
make ( long year, |
||
makeTicks ( long ticks ) : DateTime | ||
makeTicks ( long ticks, TimeZone tz ) : DateTime | ||
midnight ( ) : DateTime | ||
min ( ) : long | ||
minus ( Duration duration ) : DateTime | ||
minusDateTime ( DateTime time ) : Duration | ||
month ( ) : Month | ||
nanoSec ( ) : long | ||
now ( ) : DateTime | ||
now ( Duration tolerance ) : DateTime | ||
nowTicks ( ) : long | ||
nowUnique ( ) : long | ||
nowUtc ( ) : DateTime | ||
nowUtc ( Duration tolerance ) : DateTime | ||
plus ( Duration duration ) : DateTime | ||
sec ( ) : long | ||
ticks ( ) : long | ||
time ( ) : Time | ||
toCode ( ) : string | ||
toHttpStr ( ) : string | ||
toIso ( ) : string | ||
toJava ( ) : long | ||
toLocale ( ) : string | ||
toLocale ( string pattern ) : string | ||
toRel ( ) : DateTime | ||
toStr ( ) : string | ||
toTimeZone ( TimeZone tz ) : DateTime | ||
toUtc ( ) : DateTime | ||
tz ( ) : TimeZone | ||
tzAbbr ( ) : string | ||
weekOfYear ( ) : long | ||
weekOfYear ( Weekday startOfWeek ) : long | ||
weekday ( ) : Weekday | ||
weekdayInMonth ( int year, int mon, int weekday, int pos ) : int | ||
weekdayInMonth ( long year, Month mon, Weekday weekday, long pos ) : long | ||
year ( ) : long |
Method | Description | |
---|---|---|
DateTime ( ) : System.Globalization | ||
DateTime ( int year, int month, int day, int hour, int min, int sec, long ns, int knownOffset, |
||
DateTime ( long ticks, |
||
checkYear ( int year ) : void |
If not valid year range 1901 to 2099 throw ArgErr.
|
|
fillInDayOfYear ( byte mon, byte days, int daysInMon ) : void | ||
firstWeekday ( int year, int mon ) : int |
Get the first weekday of the specified year and month (0-11).
|
|
fromStr ( string s, bool check, bool iso ) : |
||
getMonth ( ) : int | ||
makeDT ( Fan.Sys.Date d, |
||
makeDT ( Date d, Time t, TimeZone tz ) : DateTime | ||
num ( string s, int index ) : int | ||
numDaysInMonth ( int year, int month ) : int |
Get the number days in the specified month (0-11).
|
|
ticksToYear ( long ticks ) : int |
Compute the year for ns ticks.
|
|
weekOfYear ( int year, int month, int day, Weekday startOfWeek ) : int |
public static dayOfYear ( int year, int mon, int day ) : int | ||
year | int | |
mon | int | |
day | int | |
return | int |
public static dotnet ( long dotnetTicks ) : |
||
dotnetTicks | long | |
return |
public floor ( |
||
accuracy | ||
return |
public static fromHttpStr ( string s ) : |
||
s | string | |
return |
public static fromHttpStr ( string s, bool check ) : |
||
s | string | |
check | bool | |
return |
public static fromIso ( string s ) : |
||
s | string | |
return |
public static fromIso ( string s, bool check ) : |
||
s | string | |
check | bool | |
return |
public static fromJava ( long millis ) : |
||
millis | long | |
return |
public static fromJava ( long millis, |
||
millis | long | |
tz | ||
return |
public static fromJava ( long millis, |
||
millis | long | |
tz | ||
negIsNull | bool | |
return |
public static fromLocale ( string s, string pattern ) : |
||
s | string | |
pattern | string | |
return |
public static fromLocale ( string s, string pattern, |
||
s | string | |
pattern | string | |
tz | ||
return |
public static fromLocale ( string s, string pattern, |
||
s | string | |
pattern | string | |
tz | ||
check | bool | |
return |
public static fromStr ( string s ) : |
||
s | string | |
return |
public static fromStr ( string s, bool check ) : |
||
s | string | |
check | bool | |
return |
public static isLeapYear ( long year ) : bool | ||
year | long | |
return | bool |
public static make ( long year, |
||
year | long | |
month | ||
day | long | |
hour | long | |
min | long | |
return |
public static make ( long year, |
||
year | long | |
month | ||
day | long | |
hour | long | |
min | long | |
sec | long | |
return |
public static make ( long year, |
||
year | long | |
month | ||
day | long | |
hour | long | |
min | long | |
sec | long | |
ns | long | |
return |
public static make ( long year, |
||
year | long | |
month | ||
day | long | |
hour | long | |
min | long | |
sec | long | |
ns | long | |
tz | ||
return |
public static makeTicks ( long ticks ) : DateTime | ||
ticks | long | |
return | DateTime |
public static makeTicks ( long ticks, TimeZone tz ) : DateTime | ||
ticks | long | |
tz | TimeZone | |
return | DateTime |
public minus ( Duration duration ) : DateTime | ||
duration | Duration | |
return | DateTime |
public minusDateTime ( DateTime time ) : Duration | ||
time | DateTime | |
return | Duration |
public static now ( Duration tolerance ) : DateTime | ||
tolerance | Duration | |
return | DateTime |
public static nowUtc ( Duration tolerance ) : DateTime | ||
tolerance | Duration | |
return | DateTime |
public weekOfYear ( Weekday startOfWeek ) : long | ||
startOfWeek | Weekday | |
return | long |
public static weekdayInMonth ( int year, int mon, int weekday, int pos ) : int | ||
year | int | |
mon | int | |
weekday | int | |
pos | int | |
return | int |
public static weekdayInMonth ( long year, Month mon, Weekday weekday, long pos ) : long | ||
year | long | |
mon | Month | |
weekday | Weekday | |
pos | long | |
return | long |