function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
datetimeの変換について
StartDateTime(DateTime型オブジェクト) = DateTime.valueOf(Date型オブジェクト + '時と分を表す文字列');
のような変換は可能でしょうか。
もし可能でない場合はDateオブジェクト+時と分でDateTImeを表すにはどのようにしたらよいでしょうか。
DatetimeのnewInstance(Date, Time)メソッドとTimeのnewInstance(hour, minutes, seconds, milliseconds)メソッド
で可能かと思われます。
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_datetime.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_time.htm
DatetimeのnewInstance(Date, Time)メソッドとTimeのnewInstance(hour, minutes, seconds, milliseconds)メソッド
で可能かと思われます。
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_datetime.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_time.htm