C# Class datetime, iron

Inheritance: date, ICodeFormattable
ファイルを表示 Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
Initialize void
datetime System
datetime System

Public Methods

Method Description
combine ( date, date, time, time ) : object
datetime ( ) : System
datetime ( DateTime dt ) : System
datetime ( [ str ) : System
datetime ( [ str, [ tzinfo ) : System
datetime ( int year, int month, int day, [ hour, [ minute, [ second, [ microsecond, [ tzinfo ) : System
fromordinal ( int d ) : datetime,
fromtimestamp ( double timestamp, [ tz ) : object
now ( [ tz ) : object
operator ( ) : datetime,
today ( ) : object
utcfromtimestamp ( double timestamp ) : datetime,
utcnow ( ) : object

Private Methods

Method Description
Initialize ( int year, int month, int day, int hour, int minute, int second, int microsecond, tzinfo, tzinfo ) : void
datetime ( DateTime dt, int lostMicroseconds, tzinfo, tzinfo ) : System
datetime ( date, delta ) : System

Method Details

combine() public static method

public static combine ( date, date, time, time ) : object
date date,
time time,
return object

datetime() public method

public datetime ( ) : System
return System

datetime() public method

public datetime ( DateTime dt ) : System
dt DateTime
return System

datetime() public method

public datetime ( [ str ) : System
str [
return System

datetime() public method

public datetime ( [ str, [ tzinfo ) : System
str [
tzinfo [
return System

datetime() public method

public datetime ( int year, int month, int day, [ hour, [ minute, [ second, [ microsecond, [ tzinfo ) : System
year int
month int
day int
hour [
minute [
second [
microsecond [
tzinfo [
return System

fromordinal() public static method

public static fromordinal ( int d ) : datetime,
d int
return datetime,

fromtimestamp() public static method

public static fromtimestamp ( double timestamp, [ tz ) : object
timestamp double
tz [
return object

now() public static method

public static now ( [ tz ) : object
tz [
return object

operator() public static method

public static operator ( ) : datetime,
return datetime,

today() public static method

public static today ( ) : object
return object

utcfromtimestamp() public static method

public static utcfromtimestamp ( double timestamp ) : datetime,
timestamp double
return datetime,

utcnow() public static method

public static utcnow ( ) : object
return object